Tuesday, May 30, 2023

S2 Dynamic Tracer And Decompiler For Gdb

Decompiling is very useful for understanding srtipped binaries, most dissasemblers like IDA or Hopper have a plugin for decompiling binaries, generating a c like pseudocode.

Static analysis, is very useful in most of cases, specially when the binary is not so big, or when you just have an address where to start to analyze. But some algorithms will be learned in less time by dynamic analysis like tracing or debugging.

In cookiemonsters team, we are working on several tracers with different focus, but all of them mix the concept of tracing and decompiling to generate human-readable traces.

S2 is my tracer & decompiler plugin for gdb, very useful for ctfs.
Some of the features are:

- signed/unsigned detecion
- conditional pseudocode (if)
- syscall resolution
- unroll bucles
- used registers values
- mem states
- strings
- logging



More info


  1. Nsa Hacker Tools
  2. Best Hacking Tools 2019
  3. Hacker Tools Linux
  4. Github Hacking Tools
  5. How To Install Pentest Tools In Ubuntu
  6. Physical Pentest Tools
  7. Hacker Tools Apk
  8. Wifi Hacker Tools For Windows
  9. Kik Hack Tools
  10. Hacking Tools Mac
  11. Free Pentest Tools For Windows
  12. Hacking Tools For Mac
  13. Growth Hacker Tools
  14. Hack Tool Apk No Root
  15. Hacker Tools Online
  16. Hacker Tools Free
  17. Tools For Hacker
  18. Hacker Tools Online
  19. Install Pentest Tools Ubuntu
  20. Hacker Tools For Mac
  21. Hacking Tools For Pc
  22. Hacker
  23. Hack Tools Mac
  24. Game Hacking
  25. How To Install Pentest Tools In Ubuntu
  26. Hacker Tools Linux
  27. Hack Tools Download
  28. Hacking Tools Pc
  29. Hacking Tools For Windows Free Download
  30. Best Hacking Tools 2020
  31. Hacker Tools Hardware
  32. Hack Tools 2019
  33. Pentest Tools List
  34. Hack Tools
  35. Hacking App
  36. What Is Hacking Tools
  37. Best Hacking Tools 2019
  38. Pentest Recon Tools
  39. Pentest Automation Tools
  40. Hacking Tools Windows 10
  41. What Are Hacking Tools
  42. Usb Pentest Tools
  43. Pentest Tools Free
  44. Pentest Tools Url Fuzzer
  45. Game Hacking
  46. What Is Hacking Tools
  47. Hacker Tools Windows
  48. Hacker Tool Kit
  49. Hacking Tools Windows 10
  50. Hacker Tools Software
  51. Wifi Hacker Tools For Windows
  52. Wifi Hacker Tools For Windows
  53. Hacker Tools Apk Download
  54. Nsa Hacker Tools
  55. Pentest Tools Kali Linux
  56. Hacking Tools Online
  57. Wifi Hacker Tools For Windows
  58. Hacking Tools Online
  59. Hacker Tools Hardware
  60. Pentest Tools For Windows
  61. Hacker Tools
  62. Hacking Tools Download
  63. Pentest Tools For Ubuntu
  64. Best Hacking Tools 2019
  65. How To Install Pentest Tools In Ubuntu
  66. Hacking Tools 2020
  67. Hack Tools
  68. Hacking Tools For Games
  69. Hak5 Tools
  70. Ethical Hacker Tools
  71. Beginner Hacker Tools
  72. Pentest Tools For Mac
  73. Easy Hack Tools
  74. Pentest Tools Nmap
  75. Pentest Tools Review
  76. Hack Tools For Games
  77. Growth Hacker Tools
  78. Hacking App
  79. Hacking Tools Name
  80. Hacking Tools Download
  81. Pentest Tools Kali Linux
  82. Pentest Tools Kali Linux
  83. Pentest Tools Free
  84. Hacker Security Tools
  85. Best Hacking Tools 2019
  86. Pentest Tools Apk
  87. Hacking Tools Kit
  88. What Is Hacking Tools
  89. Pentest Tools For Ubuntu
  90. Physical Pentest Tools

How To Change Facebook’s Default Theme To Any Color You Want

Change Facebook Theme Using Chrome Extension

How To Change Facebook's Default Theme To Any Color You Want

We are going to share an interesting trick on changing your Facebook default theme. You just need a Google Chrome extension to perform this trick. If you are among me who feels very fatigued with the look of Facebook's by default theme then this is a must-see post because you will find out the easiest trick to make your facebook more attractive than before.

Facebook is a social networking site which empowers people to connect with friends and people around. That's how Facebook is habitually introduced. However, Facebook is beyond the need of being introduced as almost everyone is on it.
   A couple of Days ago I was simply Surfing Google Chrome website and I somehow stumbled upon a Chrome Extension. Yes, a Chrome extension that will give your Facebook a Whole new look. I was apprehensive to try it, So I just installed it and checked my facebook. I was astonished to see my facebook homepage have all new look. I found it refreshing and decided to write steps on How to Change Facebook Themes using Chrome Extension.

How To Change Facebook's Default Theme To Any Color You Want

If You are among me who feels very fatigued with the look of Facebook's by default theme then this is a must-see post, Because you will find out the easiest trick to make your facebook more attractive than before. Simply follow the steps to know about it.

How to Change Facebook Theme Using Chrome Extension

Step 1. Install Stylish for Chrome from the Chrome Web Store. It will take hardly a minute to get installed in your Chrome browser.
Change Facebook Theme Using Chrome Extension
Change Facebook Theme Using Chrome Extension
Step 2. Navigate to Facebook.com and click on the S button. Click on Find Styles for this Site to open a new tab with free themes to use for Facebook. Most of the themes are free and attractive too you can easily browse over the full website to discover your favorite theme.
Change Facebook Theme Using Chrome Extension
Change Facebook Theme Using Chrome Extension
Step 3. Now You will be redirected towards https://userstyles.org Guess what! This site contains huge numbers of Facebook themes, One thing is for sure that you will be confused in-between what to select and which one to skip. Select any them and click on it. Now you will be given a full preview of your selected theme.
Change Facebook Theme Using Chrome Extension
Change Facebook Theme Using Chrome Extension
Step 4. If everything is fine in the previewed theme, click on Install with Stylish button at the top right corner of the page. It will take few seconds or minutes depends on your theme size to be installed in Stylish Extension, once installed you will be notified with a success message.
Change Facebook Theme Using Chrome Extension
Change Facebook Theme Using Chrome Extension
Step 5. Now whenever you open Facebook, it will show the theme that you have installed with Stylish instead of the boring old blue theme.
Change Facebook Theme Using Chrome Extension
Change Facebook Theme Using Chrome Extension

More information


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

Monday, May 29, 2023

Multi-Protocol Proxy Over TCP & UDP

Many years ago I programed a console based multi protocol proxy (the sha0proxy) lately I created in dotnet a graphical verison of the tool, but due to the form referesh speed finally I implemented it in C++ with Qt.

This tool useful for reversing, exploiting & pentesting was finally called rproxy, and its a multi-protocol proxy over TCP or UDP.





Being in the middle of the communication you can view and modify the bytes before being sent to the client or server.

In the tools tab right now its possible to open the blob on radare2 for further reversing of the data structures or code.


A basic mutation based fuzzer is implemented for bug-hunting, just set the % ratio of mutation and the bytes will be modified during specific communications phase.

One of the powerful things of this tool is the scripting, it is possible to automate a modification in specific moment of the traffic flow.



For example a script with a single line: "IN 3 20 3F" will write a 0x3f on the offset 20 only on the third packet received from the server. I have used this feature for triggering vulnerabilities.

Regarding the saving and loading data from disk, it's possible to save and load data in raw and hex formats. Also can be configured for save all the communications or only specific emission.


Find the source code and binaries at github: https://github.com/sha0coder/reproxy



Related posts


Insecure Features In PDFs

In 2019, we published attacks on PDF Signatures and PDF Encryption. During our research and studying the related work, we discovered a lot of blog posts, talks, and papers focusing on malicious PDFs causing some damage. However, there was no systematic analysis of all possible dangerous features supported by PDFs, but only isolated exploits and attack concepts.

We decided to fill this gap and systematize the possibilities to use legitimate PDF features and do bad stuff. We define four attack categories: Denial of Service, Information Disclosure, Data Manipulation, and Code Execution.

Our evaluation reveals 26 of 28 popular PDF processing applications are vulnerable to at least one attack. You can download all malicious PDFs here. You can also find more technical details in our NDSS'21 paper.

This is a joined work of Jens Müller, Dominik Noss, Christian Mainka, Vladislav Mladenov, and Jörg Schwenk.

Dangerous Paths: Overview

To identify attack vectors, we systematically surveyed which potentially dangerous features exist in the PDF specification. We created a comprehensive list with all PDF Actions that can be called. This list contains 18 different actions that we carefully studied.
 
 
We selected eight actions – the ones that directly or indirectly allow access to a file handle and may therefore be abused for dangerous features such as URL invocation or writing to files. Having a list of security-sensitive actions, we proceeded by investigating all objects and related events that can trigger these actions.

We identified four PDF objects which allow calling arbitrary actions (Page, Annotation, Field, and Catalog). Most objects offer multiple alternatives for this purpose. For example, the Catalog object, defines the OpenAction or additional actions (AA) events. Each event can launch any sequence of PDF actions, for example, Launch, Thread, etc. JavaScript actions can be embedded within documents. It  opens a new area for attacks, for example, new annotations can be created that can have actions which once again lead to accessing file handles.

Denial of Service

The goal of the denial of service class of attacks is enforcing to process PDF applications in consuming all available resources (i.e., computing time or memory) or causes them to crash by opening a specially crafted PDF document. We identified two variants: Infinite Loop and Deflate Bomb.

Infinite Loop

This variant induces an endless loop causing the program execution to get stuck. The PDF standard allows various elements of the document structure to reference to themselves, or to other elements of the same type.

  • Action loop: PDF actions allow to specify a Next action to be performed, thereby resulting in "action cycles".
  • ObjStm loop: Object streams may extend other object streams allows the crafting of a document with cycles.
  • Outline loop: PDF documents may contain an outline. Its entries, however, can refer to themselves or each other.
  • Calculations: PDF defines "Type 4" calculator functions, for example, to transform colors. Processing hard-to-solve mathematical formulas may lead to high demands of CPU.
  • JavaScript: Finally, in case the PDF application processes scripts within documents, infinite loops can be induced.

Deflate Bomb

Data amplification attacks based on malicious zip archives are well-known. The first publicly documented DoS attack using a "zip bomb" was conducted in 1996 against a Fidonet BBS administrator. However, not only zip files but also stream objects within PDF documents can be compressed using various algorithms such as Deflate to reduce the overall file size. 

Information Disclosure

The goal of this class of attacks is to track the usage of a document by silently invoking a connection to the attacker's server once the file is opened, or to leak PDF document form data, local files, or NTLM credentials to the attacker.

URL Invocation

PDF documents that silently "phone home" should be considered as privacy-invasive. They can be used, for example, to deanonymize reviewers, journalists, or activists behind a shared mailbox. The attack's goal is to open a backchannel to an attacker-controlled server once the PDF file is opened by the victim.

The possibility of malicious URI resolving in PDF documents has been introduced by Hamon [1] who gave an evaluation for URI and SubmitForm actions in Acrobat Reader. We extend their analysis to all standard PDF features that allow opening a URL, such as ImportData, Launch, GoToR, and JavaScript.

Form Data Leakage

Documents can contain forms to be filled out by the user – a feature introduced with PDF version 1.2 in 1996 and used on a daily basis for routine offices tasks, such as travel authorization or vacation requests. The idea of this attack is as follows: The victim downloads a form – a PDF document which contains form fields – from an attacker controlled source and fills it out on the screen, for example, in order to print it. The form is manipulated by the attacker in such a way that it silently send input data to the attacker's server.

Local File Leakage

The PDF standard defines various methods to embed external files into a document or otherwise access files on the host's file system, as documented below.

  • External streams: Documents can contain stream objects (e.g., images) to be included from external files on disk.
  • Reference XObjects: This feature allows a document to import content from another (external) PDF document.
  • Open Prepress Interface: Before printing a document, local files can be defined as low-resolution placeholders.
  • Forms Data Format (FDF): Interactive form data can be stored in, and auto-imported from, external FDF files.
  • JavaScript functions: The Adobe JavaScript reference enables documents to read data from or import local files.

If a malicious document managed to firstly read files from the victim's disk and secondly, send them back to the attacker, such behavior would arguably be critical.

Credential Theft

In 1997, Aaron Spangler posted a vulnerability in Windows NT on the Bugtraq mailing list [2]: Any client program can trigger a connection to a rogue SMB server. If the server requests authentication, Windows will automatically try to log in with a hash of the user's credentials. Such captured NTLM hashes allow for efficient offline cracking and can be re-used by applying pass-the-hash or relay attacks to authenticate under the user's identity. In April 2018, Check Point Research [3] showed that similar attacks can be performed with malicious PDF files. They found that the target of GoToR and GoToE actions can be set to \\attacker.com\dummyfile, thereby leaking credentials in the form of NTLM hashes.

Data Manipulation

This attack class deals with the capabilities of malicious documents to silently modify form data, to write to local files on the host's file system, or to show a different content based on the application that is used to open the document.

Form Modification

The idea of this attack is as follows: Similar to Form Data Leakage attacks, the victim obtains a harmlessly looking PDF document from an attacker controlled source, for example, a remittance slip or a tax form. The goal of the attacker is to dynamically, and without knowledge of the victim, manipulate form field data.

File Write Access

The PDF standard enables documents to submit form data to external webservers. Technically the webserver's URL is defined using a PDF File Specification. This ambiguity in the standard may be interpreted by implementations in such a way that they enable documents to submit PDF form data to a local file, thereby writing to this file.
 

Content Masking 

The goal of this attack is to craft a document that renders differently, depending on the applied PDF interpreter. This can be used, for example, to show different content to different reviewers, to trick content filters (AI-based machines as well as human content moderators), plagiarism detection software, or search engines, which index a different text than the one shown to users when opening the document.

  • Stream confusion: It is unclear how content streams are parsed if their Length value does not match the offset of the endstream marker, or if syntax errors are introduced.
  • Object confusion: An object can overlay another object. The second object may not be processed if it has a duplicate object number, if it is not listed in the XRef table, or if other structural syntax errors are introduced.
  • Document confusion: A PDF file can contain yet another document (e.g., as embedded file), multiple XRef tables, etc., which results in ambiguities on the structural level.
  • PDF confusion: Objects before the PDF header or after an EOF marker may be processed by implementations, introducing ambiguities in the outer document structure.

Code Execution

The goal of this attack is to execute attacker-controlled code. This can be achieved by silently launching an executable file, embedded within the document, to infect the host with malware. The PDF specification defines the Launch action, which allows documents to launch arbitrary applications. The file to be launched can either be specified by a local path, a network share, a URL, or a file embedded within the PDF document itself.

Evaluation

Out of 28 tested applications, 26 are vulnerable to at least one attack.

Authors of this Post

Dominik Noss
Christian Mainka

Sources

1] V. Hamon. "Malicious URI resolving in PDF documents". In: Journal of Computer Virology and Hacking Techniques 9.2 (2013), pp. 65–76.

[2] Aaron Spangler. WinNT/Win95 Automatic Authentication Vulnerability (IE Bug #4). https://insecure.org/sploits/winnt.automatic.authentication.html. Mar. 1997.

[3] Check Point Research. NTLM Credentials Theft via PDF Files. https://research.checkpoint.com/ntlm-credentials-theft-via-pdf-files/. 2018.



Related word
  1. Hacking Tools For Kali Linux
  2. Hacking Tools For Pc
  3. Hacks And Tools
  4. Hacking Tools 2020
  5. Pentest Tools Subdomain
  6. Hacking Tools Software
  7. Hacking Tools For Windows
  8. Hacker Tool Kit
  9. Hacker Search Tools
  10. Hacking Tools For Kali Linux
  11. Pentest Tools Linux
  12. Hack Rom Tools
  13. Termux Hacking Tools 2019
  14. Hacker Tools For Pc
  15. New Hacker Tools
  16. Hacking Tools For Windows
  17. Hacks And Tools
  18. World No 1 Hacker Software
  19. How To Make Hacking Tools
  20. Hack Tools Mac
  21. Hacking Tools
  22. Pentest Tools Website
  23. Usb Pentest Tools
  24. Tools For Hacker
  25. Hack Apps
  26. Hacking Tools For Windows Free Download
  27. Android Hack Tools Github
  28. Hacking Tools For Windows
  29. Hacker Tools List
  30. Pentest Tools List
  31. Hack Tools Pc
  32. Hacker Tools Free Download
  33. Pentest Tools Framework
  34. Termux Hacking Tools 2019
  35. Pentest Tools Kali Linux
  36. Pentest Automation Tools
  37. Hacker Tools Apk Download
  38. Kik Hack Tools
  39. Hack Tools Mac
  40. Pentest Tools Find Subdomains
  41. Pentest Tools Review
  42. Hacker Techniques Tools And Incident Handling
  43. Hacking Tools 2019
  44. Best Pentesting Tools 2018
  45. Hacker Hardware Tools
  46. Hack Tools 2019
  47. Best Hacking Tools 2020
  48. Android Hack Tools Github
  49. Hacker Security Tools
  50. Hacking Tools For Windows
  51. Hacking Tools For Windows
  52. Github Hacking Tools
  53. Hacker Tools Software
  54. Hacking Tools
  55. Hack Tools Download
  56. Hack Tools Mac
  57. Android Hack Tools Github
  58. Pentest Tools Alternative
  59. Pentest Tools List
  60. Nsa Hacker Tools
  61. Pentest Tools Free
  62. Hackrf Tools
  63. Hack Tools Online
  64. Hack Apps
  65. Hacking Apps
  66. Github Hacking Tools
  67. Hackers Toolbox
  68. Hack Tools Pc
  69. Pentest Tools Online
  70. Hacker Tools Software
  71. Hacking Tools Windows 10
  72. Android Hack Tools Github
  73. Hacking Tools For Windows Free Download
  74. Hacking App
  75. Hacker Tools 2019