Friday, August 21, 2020

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 posts


re: Rank 1st in google with Content Marketing Strategy

hi
Get your business to the next level with a solid Content Marketing strategy
http://www.str8-creative.io/product/content-marketing/


Regards
Vicky Valdes  












Unsubscribe option is available on the footer of our website

Hacking Windows 95, Part 2

In the Hacking Windows 95, part 1 blog post, we covered that through a nasty bug affecting Windows 95/98/ME, the share password can be guessed in no time. In this article, I'm going to try to use this vulnerability to achieve remote code execution (with the help of publicly available tools only).

The first thing we can do when we have read access to the Windows directory through the share, is to locate all the *.pwl files on the c:\windows directory, copy them to your machine where Cain is installed, switch to Cracker tab, pwl files, load the pwl file, add username based on the filename, and try to crack it. If you can't crack it you might still try to add a .pwl file where you already know the password in the remote windows directory. Although this is a fun post-exploitation task, but still, no remote code execution. These passwords are useless without physical access.


One might think that after having a share password and user password, it is easy to achieve remote code execution. The problem is:
  • there is no "at" command (available since Windows 95 plus!)
  • there is no admin share
  • there is no RPC
  • there is no named pipes
  • there is no remote registry
  • there is no remote service management
If you think about security best practices, disabling unnecessary services is always the first task you should do. Because Windows 95 lacks all of these services, it is pretty much secure!

During my quest for a tool to hack Windows 95, I came across some pretty cool stuff:
LanSpy

But the best of the best is Fluxay, which has been written by chinese hackers. It is the metasploit from the year 2000. A screenshot is worth more than a 1000 words. 4 screenshot > 4 thousand words :)





It is pretty hard to find the installer, but it is still out there!

But at the end, no remote code execution for me.

My idea here was that if I can find a file which executes regularly (on a scheduled basis), I can change that executable to my backdoor and I'm done. Although there is no scheduler in the default Windows 95, I gave it a try. 

Let's fire up taskman.exe to get an idea what processes are running:


Looks like we need a more powerful tool here, namely Process Explorer. Let's try to download this from oldapps.com:


LOL, IE3 hangs, can't render the page. Copying files to the Win95 VM is not that simple, because there are no shared folders in Win95 VM. And you can't use pendrives either, Win95 can't handle USB (at least the retail version). After downloading the application with a newer browser from oldapps, let's start Process Explorer on the test Windows 95.


Don't try to download the Winsocks 2 patch from the official MS site, it is not there anymore, but you can download it from other sites

Now let's look at the processes running:


After staring it for minutes, turned out it is constant, no new processes appeared.
Looking at the next screenshot, one can notice this OS was not running a lot of background processes ...


My current Win7 has 1181 threads and 84 processes running, no wonder it is slow as hell :)

We have at least the following options:
  1. You are lucky and not the plain Windows 95 is installed, but Windows 95 Plus! The main difference here is that Windows 95 Plus! has built-in scheduler, especially the "at" command. Just overwrite a file which is scheduled to execution, and wait. Mission accomplished!
  2. Ping of death - you can crash the machine (no BSOD, just crash) with long (over 65535 bytes) ICMP ping commands, and wait for someone to reboot it. Just don't forget to put your backdoor on the share and add it to autoexec.bat before crashing it. 
  3. If your target is a plain Windows 95, I believe you are out of luck. No at command, no named pipes, no admin share, nothing. Meybe you can try to fuzz port 137 138 139, and write an exploit for those. Might be even Ping of Death is exploitable?
Let's do the first option, and hack Windows 95 plus!
Look at the cool features we have by installing Win95 Plus!


Cool new boot splash screen!


But our main interest is the new, scheduled tasks!


Now we can replace diskalm.exe with our backdoor executable, and wait maximum one hour to be scheduled.

Instead of a boring text based tutorial, I created a YouTube video for you. Based on the feedbacks on my previous tutorialz, it turned out I'm way too old, and can't do interesting tutorials. That's why I analyzed the cool skiddie videoz, and found that I have to do the followings so my vidz won't suck anymore:
  • use cool black windows theme
  • put meaningless performance monitor gadgets on the sidebar
  • use a cool background, something related with hacking and skullz
  • do as many opsec fails as possible
  • instead of captions, use notepad with spelling errorz
  • there is only one rule of metal: Play it fuckin' loud!!!!

Related word


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

Thursday, August 20, 2020

Top 10 Best Google Gravity Tricks 2018

Best Google Gravity Tricks 2018

Top 10 Best Google Gravity Tricks 2018

Google is the search engine where the people look up for the things. Yet apart from being only a search engine this website is highly functional and has a lot of functions dubbed inside it. And even the webmasters don't know about all the features as they are so vast that you need to explore lots of things to get to know about them all.  There are a number of gravity opposing tricks in the Google search page that you would like to enjoy. Well many of you guys must be new to this word as only 15% of Google users know this thing and for rest, I'm here to guide you up in this. Here in this article, we have written about the best google gravity tricks that you could ever find in this year. If you are interested to know about it then please read the main section of this post as it is given below. This was all the introduction part of this post and now after this line, we are going to skip to the main section. We recommend you to read till the end to get the fullest information from this page!

Top 10 Best Google Gravity Tricks 2018

Below I have mentioned some of the best tricks that I tried as I was getting bored and thought about exploring something new and then I searched Google Tricks on google and then I get to know that even these things are also possible on the Google. You can use so many different things to kill your boredom on Google. There I decided to note down these tricks and share the article with you so that you can also avail these. So follow the below guide to proceed.

#1 Google zero gravity level fall

Best Google Gravity Tricks 2018
Best Google Gravity Tricks 2018
This is the first trick that amazed me as when I get to know this thing can happen when I was really surprised as it was quite funny. It is a standout amongst the most astonishing google gravity trap. In this trap, the substance will appear like tumbling to a level surface. Every one of the substances like pictures, writings, and so on of your page will be upset. They will look somewhat bouncy and turned around that looks exceptionally energizing and stunning.

#2 Google Sphere

Best Google Gravity Tricks That You Need To Try
Best Google Gravity Tricks That You Need To Try
This is second best google gravity trap. In this trap, the substance rotates in a round way. Be that as it may, you will think that its little hard to deal with it since you need to chip away at turning writings.

#3 Google Loco

Best Google Gravity Tricks That You Need To Try
Best Google Gravity Tricks That You Need To Try
This google gravity trap is much like the google zero gravity. You will see the substance as falling in a seismic tremor,

#4 Zerg Rush

Best Google Gravity Tricks That You Need To Try
Best Google Gravity Tricks That You Need To Try
This is one of my most loved google gravity trap. In this deceive you will see somewhere in the range of zeros spreading in your page. to utilize this trap Open Google.com and hunt Zerg Rush through utilizing the search bar.

#5 Google submerged

Best Google Gravity Tricks 2018
Best Google Gravity Tricks 2018
This is of the most attractive google gravity trap. In this deceive you will see a domain of submerged. You will see the pursuit bar coasting in the water.

#6 Do a barrel roll

Best Google Gravity Tricks That You Need To Try
Best Google Gravity Tricks That You Need To Try
This is likewise an astounding google gravity trap. In this deceive, you will get an impact to your page with which, your page will turn in a solitary minute.

#7 Google Guitar

Best Google Gravity Tricks That You Need To Try
Best Google Gravity Tricks That You Need To Try
This is additionally a stunning google gravity trap. In this deceive, you can play guitar on the web index. You can play your coveted tunes with it. Google will give you notes to your tunes.

#8 Google zero gravity reversal

Best Google Gravity Tricks 2018
Best Google Gravity Tricks 2018
This is one of the coolest Google gravity trap. In this deceive, you will get a perfect representation of your site page. You will feel like you are on the opposite side of the screen.

#9 Google space

Best Google Gravity Tricks That You Need To Try
Best Google Gravity Tricks That You Need To Try
In this google gravity deceive you encounter a dream of the room. It implies that the substance of your page will appear like gliding noticeable all around with no gravitational power.

#10 Pacman

Best Google Gravity Tricks That You Need To Try
Best Google Gravity Tricks 2018 That You Need To Try
This is the standout amongst the most energizing google gravity trap. With this deceive, you can play Pacman game in this.
Finally, after reading this article, you have got to know about. We have tried to provide you this content in the simple and easy to read wordings and hope that you would have easily got about everything written up here. We believe that you might like this article and if it is what you think then please try to share it with others too. Your indulgence in our post is really valuable to us, so do not miss to write about your opinions and suggestions regarding this article through using the comments section below. At last but never the least thanks for reading this article!
Related posts
  1. Pentest Tools For Android
  2. Hack Tools For Pc
  3. Hack Tool Apk
  4. Install Pentest Tools Ubuntu
  5. Hack Tools Download
  6. Physical Pentest Tools
  7. Hacking Tools Mac
  8. Hacking Tools Windows 10
  9. Hack Tools
  10. Pentest Tools Open Source
  11. Hacking Tools Name
  12. Hacking Tools Windows
  13. Hacker Tools Online
  14. Hack Tools Online
  15. Hacker Security Tools
  16. What Is Hacking Tools
  17. Hacker Tools Free
  18. Pentest Tools Download
  19. Hacker Search Tools
  20. Hacking Tools For Pc
  21. Hacker Tools Apk Download
  22. Best Hacking Tools 2019
  23. World No 1 Hacker Software
  24. Game Hacking
  25. Hack Tools For Pc
  26. Tools For Hacker
  27. Hacker Tools For Ios
  28. Hacker
  29. Hacker Tools Linux
  30. Pentest Tools Port Scanner
  31. Wifi Hacker Tools For Windows
  32. Pentest Tools For Android
  33. Hacking Tools For Pc
  34. Computer Hacker
  35. Hack Rom Tools
  36. Android Hack Tools Github
  37. Tools For Hacker
  38. Pentest Tools Port Scanner
  39. Hack Tools Online
  40. Pentest Tools Android
  41. Underground Hacker Sites
  42. Pentest Tools Port Scanner
  43. Hacking Tools 2020
  44. Hacking Tools Windows 10
  45. Pentest Tools Android
  46. Hack Tools For Ubuntu
  47. Hacker Search Tools
  48. Pentest Tools Github
  49. Free Pentest Tools For Windows
  50. Hacking Tools For Mac
  51. Hack Tools Online
  52. Hacker Tools 2019
  53. Nsa Hack Tools Download
  54. Termux Hacking Tools 2019
  55. Pentest Tools Linux
  56. Hacker Tools Apk Download
  57. Hack Tools Online
  58. Bluetooth Hacking Tools Kali
  59. Hacker Tools Free Download
  60. Hacking Tools Usb
  61. Pentest Tools Windows
  62. Pentest Tools Nmap
  63. Hack Tools Mac
  64. Hacker Search Tools
  65. Hacking Tools For Mac
  66. Pentest Tools Download
  67. Pentest Tools Subdomain
  68. Blackhat Hacker Tools
  69. Game Hacking
  70. Hacking Tools Github
  71. Wifi Hacker Tools For Windows
  72. Bluetooth Hacking Tools Kali
  73. Hacking Tools Mac
  74. Pentest Tools List
  75. Pentest Tools Url Fuzzer
  76. Best Hacking Tools 2020
  77. Termux Hacking Tools 2019
  78. Hacking Tools And Software
  79. Pentest Tools Subdomain
  80. Hacker Tools For Ios
  81. Hack Tools Github
  82. Hack Tools For Windows
  83. Wifi Hacker Tools For Windows
  84. Hackrf Tools
  85. Hacking Tools Download
  86. How To Make Hacking Tools
  87. Nsa Hacker Tools