Wednesday, 31 May 2023

Reversing Some C++ Io Operations

In general decompilers are not friendly with c++ let's analyse a simple program to get familiar with it.
Let's implement a simple code that loads a file into a vector and then save the vector with following functions:

  • err
  • load
  • save
  • main


Lets identify the typical way in C++ to print to stdout with the operator "<<"


The basic_ostream is initialized writing the word "error" to the cout, and then the operator<< again to add the endl.




The Main function simply calls  "vec = load(filename)"  but the compiler modified it and passed the vector pointer as a parĂ¡meter. Then it bulds and prints "loaded  " << size << " users".
And finally saves the vector to /tmp/pwd and print "saved".
Most of the mess is basically the operator "<<" to concat and print values.
Also note that the vectors and strings are automatically deallocated when exit the function.


And here is the code:


Let's take a look to the load function, which iterates the ifs.getline() and push to the vector.
First of all there is a mess on the function definition, __return_storage_ptr is the vector.
the ifstream object ifs is initialized as a basic_ifstream and then operator! checks if it wasn't possible to open the file and in that case calls err()
We see the memset and a loop, getline read a cstr like line from the file, and then is converted to a string before pushing it to the vector. lVar1 is the stack canary value.

In this situations dont obfuscate with the vector pointer vec initialization at the begining, in this case the logic is quite clear.



The function save is a bit more tricky, but it's no more than a vector iteration and ofs writing.
Looping a simple "for (auto s : *vec)" in the decompiler is quite dense, but we can see clearly two write, the second write DAT_0010400b is a "\n"



As we see, save implememtation is quite straightforward.




Related word


  1. Hack Rom Tools
  2. Hack Tools
  3. Hacking Tools Mac
  4. New Hacker Tools
  5. Hack Tools Pc
  6. Android Hack Tools Github
  7. Hacker
  8. Pentest Recon Tools
  9. Hack Apps
  10. Hacker Tools Linux
  11. Hacking Tools 2020
  12. Hacking Tools
  13. Hack Tools Mac
  14. Hack Tools For Games
  15. Hacking Tools For Beginners
  16. Best Hacking Tools 2020
  17. Hackers Toolbox
  18. Hacker Tools For Ios
  19. Hack Tools Online
  20. Hacker Tools Apk Download
  21. Hacking Tools Download
  22. Hackers Toolbox
  23. Hacking Tools Github
  24. Hacker Tools Online
  25. Pentest Box Tools Download
  26. Pentest Tools Website
  27. Pentest Tools For Android
  28. Hacking Tools 2020
  29. Pentest Tools Url Fuzzer
  30. Hacker Techniques Tools And Incident Handling
  31. Install Pentest Tools Ubuntu
  32. Github Hacking Tools
  33. Hack Tool Apk No Root
  34. Hacking Tools For Games
  35. Hacker Hardware Tools
  36. Hacker Tools Apk Download
  37. Pentest Tools Tcp Port Scanner
  38. Hacking App
  39. Pentest Tools Website
  40. Hackers Toolbox
  41. New Hacker Tools
  42. Tools 4 Hack
  43. Hacking Tools Download
  44. Hacks And Tools
  45. Hacking Tools 2019
  46. Pentest Tools
  47. Hacks And Tools
  48. Pentest Tools For Android
  49. Pentest Tools Alternative
  50. Nsa Hacker Tools
  51. Pentest Tools Download
  52. Pentest Tools Bluekeep
  53. Nsa Hack Tools Download
  54. Pentest Tools Android
  55. Hacking Tools For Pc
  56. Pentest Tools Framework
  57. Hacking Tools Online
  58. Hacker Search Tools
  59. Hacking Tools For Windows
Read More :- "Reversing Some C++ Io Operations"

Tuesday, 30 May 2023

Hashdb-Ida - HashDB API Hash Lookup Plugin For IDA Pro


HashDB IDA Plugin

Malware string hash lookup plugin for IDA Pro. This plugin connects to the OALABS HashDB Lookup Service.


Adding New Hash Algorithms

The hash algorithm database is open source and new algorithms can be added on GitHub here. Pull requests are mostly automated and as long as our automated tests pass the new algorithm will be usable on HashDB within minutes.


Using HashDB

HashDB can be used to look up strings that have been hashed in malware by right-clicking on the hash constant in the IDA disassembly view and launching the HashDB Lookup client.


Settings

Before the plugin can be used to look up hashes the HashDB settings must be configured. The settings window can be launched from the plugins menu Edit->Plugins->HashDB.


 

Hash Algorithms

Click Refresh Algorithms to pull a list of supported hash algorithms from the HashDB API, then select the algorithm used in the malware you are analyzing.


Optional XOR

There is also an option to enable XOR with each hash value as this is a common technique used by malware authors to further obfuscate hashes.


API URL

The default API URL for the HashDB Lookup Service is https://hashdb.openanalysis.net/. If you are using your own internal server this URL can be changed to point to your server.


Enum Name

When a new hash is identified by HashDB the hash and its associated string are added to an enum in IDA. This enum can then be used to convert hash constants in IDA to their corresponding enum name. The enum name is configurable from the settings in the event that there is a conflict with an existing enum.


Hash Lookup

Once the plugin settings have been configured you can right-click on any constant in the IDA disassembly window and look up the constant as a hash. The right-click also provides a quick way to set the XOR value if needed.



Bulk Import

If a hash is part of a module a prompt will ask if you want to import all the hashes from that module. This is a quick way to pull hashes in bulk. For example, if one of the hashes identified is Sleep from the kernel32 module, HashDB can then pull all the hashed exports from kernel32.


 

Algorithm Search

HashDB also includes a basic algorithm search that will attempt to identify the hash algorithm based on a hash value. The search will return all algorithms that contain the hash value, it is up to the analyst to decide which (if any) algorithm is correct. To use this functionality right-click on the hash constant and select HashDB Hunt Algorithm.


 

All algorithms that contain this hash will be displayed in a chooser box. The chooser box can be used to directly select the algorithm for HashDB to use. If Cancel is selected no algorithm will be selected.



Dynamic Import Address Table Hash Scanning

Instead of resolving API hashes individually (inline in code) some malware developers will create a block of import hashes in memory. These hashes are then all resolved within a single function creating a dynamic import address table which is later referenced in the code. In these scenarios the HashDB Scan IAT function can be used.


 

Simply select the import hash block, right-click and choose HashDB Scan IAT. HashDB will attempt to resolve each individual integer type (DWORD/QWORD) in the selected range.


Installing HashDB

Before using the plugin you must install the python requests module in your IDA environment. The simplest way to do this is to use pip from a shell outside of IDA.
pip install requests

Once you have the requests module installed simply copy the latest release of hashdb.py into your IDA plugins directory and you are ready to start looking up hashes!


Compatibility Issues

The HashDB plugin has been developed for use with the IDA 7+ and Python 3 it is not backwards compatible.




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

How To Automatically Translate Any Android App Into Any Language

There is the number of applications which are not having the features of translating apps to your favorite languages. This makes it difficult for the users to translate apps into their native language. Today, I am going to tell you about an application which will help you to Automatically Translate Any Android App into Any Language.
Nowadays there are around hundreds of application on play store which is having the feature of translate but some applications don't have this features. This is just because they don't have proper developers or sometimes translators.
There is an application launched by Akhil Kedia from XDA Developer which made it possible for all the users to translate the application to any language you need. This is something which everyone needs it.
Akhil Kedia built an Xposed module in which users can easily change the language of any application to whichever they like or love. Personally, we all love English language but there are peoples in many parts of the world they are suitable for other languages.
Automatically Translate Any Android App into Any Language
Automatically Translate Any Android App into Any Language

Automatically Translate Any Android App into Any Language

The best part about this Xposed Module is that it translates the application to any language whichever you like and there are around many languages which you can try it. The other best part about this application is that the user interface which is amazing.
In an Android application, the best thing is the user interface. This is something which helps users to download the module or application to run again and again. There are about many settings which can be changed from the application.
The setup process is a bit different from other applications but if you will look at the application you will definitely love it. Just because of too many settings and features available in the application and you can turn it to any language without any crashing issues of the application.

Requirements:

  • Rooted Android Phone
  • Xposed Framework installed on your phone.
  • Android 5.0 or higher.
  • Unknown Source enabled (You might be knowing it)
How to Automatically Translate Any Android App into Any Language
  • Download the module called as All Trans from here: Download
Automatically Translate Any Android App
  • Now, after installation, it will ask you to reboot your phone to activate the module
  • Now, you need to get the API Key to get it you need to sign up with Yandex first so sign up: Yandex Sign up
Automatically Translate Any Android App
  • Then after sign up you will get the API key just enter the API key in the All-Trans application.
Automatically Translate Any Android App
  • Open All Trans Application and the swipe right to Global Settings.
Automatically Translate Any Android App
  • Click on Enter Yandex Subscription key and then enter your key.
Automatically Translate Any Android App
  • In Global Settings click on Translate from and select the Language the application is already in. (Eg: English)
Automatically Translate Any Android App
  • Now, click on translate to and select your favorite language. This will change the language.
Automatically Translate Any Android App
  • Swipe left and select the applications which you need to translate and done.
Automatically Translate Any Android App
  • After selecting just open the application and the language is translated automatically.
Automatically Translate Any Android App

Final Words:

This is the best and easy way to Automatically Translate Any Android App into Any Language. I hope you love this article.Share this article with your friends and keep visiting for more tips and tricks like this and I will meet you in the next one.
Stay Updated Tune IemHacker

Related links


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