Git Product home page Git Product logo

Comments (3)

Androx27 avatar Androx27 commented on September 26, 2024 1

hey I still don't know about it, but do MariaDB can be used on a native-browser-app or php docker or something like that that make this web app standalone?

[https://mariadb.com/kb/en/library/installing-and-using-mariadb-via-docker/]

from siakmas.

ryumada avatar ryumada commented on September 26, 2024

hey I still don't know about it, but do MariaDB can be used on a native-browser-app or php docker or something like that that make this web app standalone?

from siakmas.

Androx27 avatar Androx27 commented on September 26, 2024

Testing with done MariaDB 10.1.38

Results

  • ALL DB HAS BEEN ENCRYPTED WHEN ISN'T USED OR LOGGED IN
  • 5 ROTATING KEYS AVAILABLE FOR MAKING ENCRYPTION ALGORITHM MORE HARDER TO BE ANALYSED
  • Hiding decryption priv key (this one needs extra attention since i cant using Amazon Web Service API for key management or other online service ) why? because private key needs to be separated from the host/server so attacker cant guessing/searching (via directory travesal, exploitable php function or even LFI but i already taking prevention for those vulns, maybe) key in localhost
  • Changing file permission for priv key and conf file

Things to do:

  1. Making auto script to change the rotation of keys each specific time
  2. Changing CBC to CTR (will try if CTR is supported) ❌

VULN FOR NOW

  1. Since CBC is used, the table column name is still in plain text

DONT ASK THIS (IF YOURE ASKING THIS, THEN YOU'RE AN IDIOT)

Can you encrypt the db name too?

Ref:

  • 1. https://stackoverflow.com/questions/3115559/exploitable-php-functions/3697776
  • 2. https://security.stackexchange.com/questions/35492/is-it-possible-for-a-hacker-to-download-a-php-file-without-executing-it-first
  • 3. https://mariadb.com/kb/en/library/encryption-plugin-api
  • 4. https://mariadb.com/kb/en/library/file-key-management-encryption-plugin/

db encryption
encrypted table but not column name

from siakmas.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.