On December 11th around 10:15 CET, we were alerted of a critical vulnerability in a smart contract used on Sorbet Finance. This contract…Continue reading on Gelato Network » (https://medium.com/gelato-network/sorbet-finance-vulnerability-post-mortem-6f8fba78f109?source=rss------bug_bounty-5)
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
The list of the most common attack names suffered by blockchains
https://cdn-images-1.medium.com/max/1536/1*Iheuf4LEdhWw_HlBpRwGlw.jpeg
At Observatorio Blockchain we have compiled a list with the names of the most important attacks suffered by blockchains. Cryptocurrencies…
Continue reading on Medium »
The list of the most common attack names suffered by blockchains
https://cdn-images-1.medium.com/max/1536/1*Iheuf4LEdhWw_HlBpRwGlw.jpeg
At Observatorio Blockchain we have compiled a list with the names of the most important attacks suffered by blockchains. Cryptocurrencies…
Continue reading on Medium »
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Understanding the Importance of Cryptocurrency Security
https://cdn-images-1.medium.com/max/800/1*PlQNBbiD4eJNAGjGVf7MvA.jpeg
Cryptocurrency is a brand-new asset investment market. It has enormous market potential, but it is a volatile investment field, much like…
Continue reading on Medium »
Understanding the Importance of Cryptocurrency Security
https://cdn-images-1.medium.com/max/800/1*PlQNBbiD4eJNAGjGVf7MvA.jpeg
Cryptocurrency is a brand-new asset investment market. It has enormous market potential, but it is a volatile investment field, much like…
Continue reading on Medium »
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Real Data Server Hacking-Solutions — How to secure data servers being hacked — One persp
Is it possible that a hacker can target the system of a software engineer, test engineer who have handy access to data. Why these people…
Continue reading on Medium »
Real Data Server Hacking-Solutions — How to secure data servers being hacked — One persp
Is it possible that a hacker can target the system of a software engineer, test engineer who have handy access to data. Why these people…
Continue reading on Medium »
Hacking Articles Tips Tricks Videos Tutorials
GIF
Hacking on Medium
Descubren una puerta trasera implementada en la red de la agencia federal de EE.UU.
https://cdn-images-1.medium.com/max/728/0*gf-bleV_pCF0TA4X.gif
PUBLICADO EN 20 DICIEMBRE, 2021POR DPAB
Continue reading on Medium »
Descubren una puerta trasera implementada en la red de la agencia federal de EE.UU.
https://cdn-images-1.medium.com/max/728/0*gf-bleV_pCF0TA4X.gif
PUBLICADO EN 20 DICIEMBRE, 2021POR DPAB
Continue reading on Medium »
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
How we found bugs and chained them in the company that finds bugs!
https://cdn-images-1.medium.com/max/1920/1*YT3zXL9MMvGIjJt4CV9-zw.jpeg
So me and my hacking mate Mohammed Eldawody were looking for some hot websites that have VDP, so we can just dance with it, and while we…
Continue reading on Medium »
How we found bugs and chained them in the company that finds bugs!
https://cdn-images-1.medium.com/max/1920/1*YT3zXL9MMvGIjJt4CV9-zw.jpeg
So me and my hacking mate Mohammed Eldawody were looking for some hot websites that have VDP, so we can just dance with it, and while we…
Continue reading on Medium »
Mariana Trench - Security Focused Static Analysis Tool For Android And Java Applications
http://www.kitploit.com/2021/12/mariana-trench-security-focused-static.html
http://www.kitploit.com/2021/12/mariana-trench-security-focused-static.html
Mariana Trench is a security focused static analysis (https://www.kitploit.com/search/label/Static%20Analysis) platform targeting Android.This guide will walk you through setting up Mariana Trench on your machine and get you to find your first remote code execution (https://www.kitploit.com/search/label/Remote%20Code%20Execution) vulnerability (https://www.kitploit.com/search/label/Vulnerability) in a small sample app. These instructions are also available at our website (https://mariana-tren.ch/docs/getting-started).
PrerequisitesMariana Trench requires a recent version of Python (https://www.python.org/downloads/). On MacOS you can get a current version through homebrew (https://brew.sh/):$ brew install python3On a Debian flavored Linux (Ubuntu, Mint, Debian), you can use apt-get:$ sudo apt-get install python3 python3-pip python3-venvThis guide also assumes you have the Android SDK (https://developer.android.com/studio) installed and an environment variable $ANDROID_SDK pointed to the location of the SDK.For the rest of this guide, we assume that you are working inside of a virtual environment (https://docs.python.org/3/tutorial/venv.html). You can set this up with$ python3 -m venv ~/.venvs/mariana-trench
$ source ~/.venvs/mariana-trench/bin/activate
(mariana-trench)$The name of the virtual environment in front of your shell prompt indicates that the virtual environment is active.Installing Mariana TrenchInside your virtual environment installing Mariana Trench is as easy as running(mariana-trench)$ pip install mariana-trenchRunning Mariana TrenchWe'll use a small app that is part of our documentation. You can get it by running(mariana-trench)$ git clone https://github.com/facebook/mariana-trench
(mariana-trench)$ cd mariana-trench/documentation/sample-appWe are now ready to run the analysis(mariana-trench)$ mariana-trench \
--system-jar-configuration-path=$ANDROID_SDK/platforms/android-30/android.jar \
--apk-path=sample-app-debug.apk \
--source-root-directory=app/src/main/java
# ...
INFO Analyzed 68886 models in 4.04s. Found 4 issues!
# ...The analysis (https://www.kitploit.com/search/label/Analysis) has found 4 issues in our sample app. The output of the analysis is a set of specifications for each method of the application.Post ProcessingThe specifications themselves are not meant to be read by humans. We need an additional processing step in order to make the results more presentable. We do this with SAPP (https://github.com/facebook/sapp) PyPi installed for us:(mariana-trench)$ sapp --tool=mariana-trench analyze .
(mariana-trench)$ sapp --database-name=sapp.db server --source-directory=app/src/main/java
# ...
2021-05-12 12:27:22,867 [INFO] * Running on http://localhost:5000/ (Press CTRL+C to quit)The last line of the output tells us that SAPP started a local webserver that lets us look at the results. Open the link and you will see the 4 issues found by the analysis.Exploring ResultsLet's focus on the remote code execution issue found in the sample app. You can identify it by its issue code 1 (for all remote code executions) and the callable void MainActivity.onCreate(Bundle). With only 4 issues to see it's easy to identify the issue manually but once more rules run, the filter functionality at the top right of the page comes in handy.
PrerequisitesMariana Trench requires a recent version of Python (https://www.python.org/downloads/). On MacOS you can get a current version through homebrew (https://brew.sh/):$ brew install python3On a Debian flavored Linux (Ubuntu, Mint, Debian), you can use apt-get:$ sudo apt-get install python3 python3-pip python3-venvThis guide also assumes you have the Android SDK (https://developer.android.com/studio) installed and an environment variable $ANDROID_SDK pointed to the location of the SDK.For the rest of this guide, we assume that you are working inside of a virtual environment (https://docs.python.org/3/tutorial/venv.html). You can set this up with$ python3 -m venv ~/.venvs/mariana-trench
$ source ~/.venvs/mariana-trench/bin/activate
(mariana-trench)$The name of the virtual environment in front of your shell prompt indicates that the virtual environment is active.Installing Mariana TrenchInside your virtual environment installing Mariana Trench is as easy as running(mariana-trench)$ pip install mariana-trenchRunning Mariana TrenchWe'll use a small app that is part of our documentation. You can get it by running(mariana-trench)$ git clone https://github.com/facebook/mariana-trench
(mariana-trench)$ cd mariana-trench/documentation/sample-appWe are now ready to run the analysis(mariana-trench)$ mariana-trench \
--system-jar-configuration-path=$ANDROID_SDK/platforms/android-30/android.jar \
--apk-path=sample-app-debug.apk \
--source-root-directory=app/src/main/java
# ...
INFO Analyzed 68886 models in 4.04s. Found 4 issues!
# ...The analysis (https://www.kitploit.com/search/label/Analysis) has found 4 issues in our sample app. The output of the analysis is a set of specifications for each method of the application.Post ProcessingThe specifications themselves are not meant to be read by humans. We need an additional processing step in order to make the results more presentable. We do this with SAPP (https://github.com/facebook/sapp) PyPi installed for us:(mariana-trench)$ sapp --tool=mariana-trench analyze .
(mariana-trench)$ sapp --database-name=sapp.db server --source-directory=app/src/main/java
# ...
2021-05-12 12:27:22,867 [INFO] * Running on http://localhost:5000/ (Press CTRL+C to quit)The last line of the output tells us that SAPP started a local webserver that lets us look at the results. Open the link and you will see the 4 issues found by the analysis.Exploring ResultsLet's focus on the remote code execution issue found in the sample app. You can identify it by its issue code 1 (for all remote code executions) and the callable void MainActivity.onCreate(Bundle). With only 4 issues to see it's easy to identify the issue manually but once more rules run, the filter functionality at the top right of the page comes in handy.
The issue tells you that Mariana Trench found a remote code execution in MainActivity.onCreate where the data is coming from Activity.getIntent one call away, and flows into the constructor of ProcessBuilder 3 calls away. Click on "Traces" in the top right corner of the issue to see an example trace.The trace surfaced by Mariana Trench consists of three parts.The source trace represents where the data is coming from. In our example, the trace is very short: Activity.getIntent is called in MainActivity.onCreate directly.
The trace root represents where the source trace meets the sink trace. In our example this is the activitie's onCreate method.