IKATAN ALUMNI SMPN 233 JAKARTA BLOG

Salam semua para alumni SMPN 233 Jakarta, Apa kabar ?
Blog ini gue buat dengan tujuan biar kita bisa saling sharing dan juga bila ada informasi terbaru yang isinya kumpul - kumpul bisa dengan segera disampikan, Buat para alumni yang jauh mengerti tentang blog dan sebagainya, bisa bantu gue memperbaiki blog ini dan menjadikannya lebih indah.....Gue tunggu partisipasinya.

salam kehangatan

see zhiunk

30 Agu 2020

Hacking Freemium Games - The Evolution Of PC Game Cheating

This post is going to be a rather strange post compared to previous ones. But bear with me, in the middle of the post you will see why this post fits the IT security topic.

I'm also terribly sorry for not posting recently, but I was busy with my SPSE and SLAE certification. Both are recommended for Python and Assembly noobs like me. But back to this post.

A little bit of history

Cheating in games started as help for game testers. By using invincibility or infinite ammo testers were able to test the game quicker, which meant less money spent on testing. I personally use cheat codes in games, depending on my mood. Sometimes it feels good to slash all the opponents while I'm invincible, sometimes it is more fun to play the game without cheats. One can argue whether cheating in games is OK or not, but I believe it depends, there is no black or white. But one thing is for sure, it is part of the gaming industry. There is huge demand for cheats. There were even cheat books printed on paper...


The different types of cheats (on PC)

There are different types of cheats in PC gaming. Following is a noncomplete list of these cheats:

Cheat codes

The good old IDDQD type of cheats. These are left in the game by the developers intentionally. Nothing interesting here.

Edit memory

This is my favorite. I will talk about this at the end of the post. Whenever a user launches a new program, the program's whole memory is accessible (read/write) to every other program launched by the user. And since the memory stores the current game state (health, ammo, armor, etc.), these values can be changed easily. In the good old times, there were POKE commands to do this cheats, and the memory address to write into was published by people who found where the game stores the most critical states about the game.

Code injection

This is like patching the game code. For example, one can change the "DEC (pointer to your current health)" instruction with NOP (do nothing), thus becoming invincible. In multi-player cheats, there is the aimbot to help you aim at enemies, wallhack to see through the wall, increase hitbox of the enemy for smoother hit, or in MMORPGs, one can write macros to collect items while the player is not online. I would say the so-called "trainers" more or less fit into this category and the previous one.

Saved game editor

The first time a kid meets a hex-editor (just like the co-author of this blog did with SIM City when he was 10 years old - David). It can teach a lot about file structures, the hexadecimal numeral system, etc. Fun times. 

Hacking game server

Not very common, but even more fun. Warning: endless trolling possibilities in multi-player games ahead :) How to hack a game server? Well, I think this might deserve another full blog post ...

Network traffic hacking

One last necessary type of cheating is to modify network traffic between the client and the game server. AFAIK SSL is not universal in gaming, so stunnel is not needed for this hack, but ettercap can help in changing the communication.

Why cheating becomes more critical (and challenging)?

Now in the age of in-app-payments, the game creators are no longer thinking about cheats as funny things but something to be destroyed to the ground. Because cheating decreases its revenue. Or not. At least they think it does. To quote Wikipedia here, "cheating in such games is nonetheless a legal grey area because there are no laws against modifying software which is already owned, as detailed in the Digital Millennium Copyright Act." 

A lot of online games include anti-cheating components like PunkBuster, nProtect GameGuard, or Valve Anti-Cheat. This whole cheating/anti-cheating industry is the same as the virus/anti-virus industry. A cat and mouse game.

Freemium games

If you have not played with "freemium" games, you should watch South Park season 18, episode 6. - "Freemium Isn't Free." If you did play with freemium games, you definitely have to watch it :) There are many problems with freemium games. It is free to install, free to play. The first 3-4 hours might be fun to play. But after that, it turns out it is impossible to advance in the game without paying money for it. And by spending cash, I mean spending a LOT! Let's have a look at today's example, an arcade racing video game.


For 99.99 USD, you can get 3 000 000 credit. For almost double the price of a new PC game, you can get these credits. In this particular game, I estimate one have to play ~6-24 hours constantly to get this amount of credit. But by playing ~6 hours, I mean 6 hours without progress in the game! Kind of boring. And what do you get from 3 000 000 credit? You can buy one of the most expensive cars, but can't tune them fully. You have to play more (without progress) or buy more. But guess what, there are more cars you can't buy by only playing the game. Those are only available via in-app-purchase.


Even though the player has 58 765 533 credits, it is not possible to buy this car. Only available through real money.


So, what are your possibilities? You are either Richie Rich, and can afford the money to buy these. Or you can be insane, and try to play the game without in-app-purchase. Or give up the game and try another freemium ... Or, you can try to hack the game!

Hack all the freemium games!

Although I was not playing this racing game from day one, I was able to witness the evolution of the cheats against this game. The cheats which worked in one day was not working one month later. The game is continuously updated to defeat the newly published cheats.

Noob start

So, I want to hack this game, what is the first thing a noob like me does? Bing it! Google it! 
From the first page result, let's check this tool:


While trying to download that, I just have to give my email address to spammers, or my mobile number will be subscribed to premium rate text messages. What fun.


Another "cheat" program will install malware/adware on your computer. Never ever try these programs. They are fake 99% of the time and after installing those you will have another problem, not just how to hack freemium games.

Beginners start - Cheat engine

When I first heard about hacking games in memory, I visualized hours of OllyDBG/ImmunityDBG/(insert your favorite Windows debugger here). It turned out, there are some specialized tools to help you with cheating the game. No assembly knowledge required. My favourite tool is CheatEngine. I highly recommend to download it and spend 10 minutes to get past the built-in tutorial levels to get a feeling about this tool. It's super duper awesome.



When I first tried to hack this game myself, I scanned the memory for my actual credit and tried to change that, no luck. Keep reading, you will see what happened.

The second cheat I tried with cheat engine was something like this
  1. Start the game, play the first level, and check how many credits is paid for winning the race. Pro tip: use dual display for full-screen game cheating.
  2. Restart the same level, attach Cheat Engine to the game's process
  3. Scan the memory for the same value at the beginning of the race
  4. Scan the memory for the same value at the end of the game. The intersect of the first and second scan includes the real value where the credit is stored for winning the race.
  5. Change the values (both the real one and some false positives) to something big
  6. Watch the game to crash
  7. Be amazed at the money you received
Nowadays, most of the cheats on YouTube does not work. Except for these kind of cheats. I don't want to recreate that tutorial, so you should watch it first then come back.



Are you back? Great. Do you have any idea what have you just seen? No? Well, in this case, don't try this at home. Copy-pasting assembly code from random internet posts and running on your computer is always a bad idea. It is precisely as risky as downloading free programs from random internet sites.

Although I have not seen people trolling others with this cheat engine type of shellcode, I think the time will come when these will be turned into something terrible. These shellcodes might work, or might harm your computer. The good news is, we can have a look at the code and analyze it. 

When you open CheatEngine and try to define a new custom type, you are greeted with a skeleton assembly code. I don't want to detail what all the skeleton code does, let's just focus on the difference between the skeleton code and the code used in the video. This is the "decrypt function":

xor eax, 0baadf00d
rol eax, 0e

What does it mean? The actual credit is encrypted in memory. If you want to scan it in memory, you won't be able to find it. But! The encryption is rotating the value to the right (ROR) with 0xE (14 in decimal), and after that, it is XOR-ed with 0xbaadf00d. Decrypting it is the inverse of the functions in reverse order (in this particular case, the order does not matter, but that's not the point). The inverse function of XOR is XOR, and the inverse function of ROR (rotate right) is ROL (rotate left). Now that we analyzed the assembly code, we can be sure that it is safe to execute. Just follow the video and see your coins falling from the sky. For free. In a freemium game. Have fun!

Encrypt memory - applications at financial institutions

Another exciting thing is that I don't recall any thick client applications in the financial industry encrypting the values in memory. And I agree, there are more significant problems with thick client applications than not encrypting the essential values in memory. But still, some thick client applications are regularly updated, maintained. Maybe it is a good idea to encrypt the values in memory. It will make attackers' life harder. Not impossible, but harder. Perhaps the developers of these applications should learn from the gaming industry (or from malware developers for that matter) because it is a shame that an arcade racing game or an FPS is protected better than an application responsible for transacting millions of dollars. Just think about the RAM scraping malware stealing millions of credit card data ...

Moral of the story

Cheating is part of the gaming history, and the freemium games are trying to take away the cheats from the gamers because they want money. Thanks to CheatEngine and some clever hacks, these programs can be still beaten. And guess what, there is CheatEngine for Android - although it did not work for me on the latest Android. And sometimes, hacking all kinds of applications can be more comfortable with CheatEngine, compared to traditional debuggers.

Also, always check the code before executing it! And when you find something cool, publish it, so everyone could enjoy the games!


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

Fluxion - Set Up Fake AP, Fake DNS, And Create Captive Portal To Trick Users Into Giving You Their Password





Fluxion is a security auditing and social-engineering research tool. It is a remake of linset by vk496 with (hopefully) less bugs and more functionality. The script attempts to retrieve the WPA/WPA2 key from a target access point by means of a social engineering (phishing) attack. It's compatible with the latest release of Kali (rolling). Fluxion's attacks' setup is mostly manual, but experimental auto-mode handles some of the attacks' setup parameters. Read the FAQ before requesting issues.
If you need quick help, fluxion is also avaible on gitter. You can talk with us on Gitter or on Discord.

Installation
Read here before you do the following steps.
Download the latest revision
git clone --recursive git@github.com:FluxionNetwork/fluxion.git
Switch to tool's directory
cd fluxion 
Run fluxion (missing dependencies will be auto-installed)
./fluxion.sh
Fluxion is also available in arch
cd bin/arch
makepkg
or using the blackarch repo
pacman -S fluxion

Changelog
Fluxion gets weekly updates with new features, improvements, and bugfixes. Be sure to check out the changelog here.

How it works
  • Scan for a target wireless network.
  • Launch the Handshake Snooper attack.
  • Capture a handshake (necessary for password verification).
  • Launch Captive Portal attack.
  • Spawns a rogue (fake) AP, imitating the original access point.
  • Spawns a DNS server, redirecting all requests to the attacker's host running the captive portal.
  • Spawns a web server, serving the captive portal which prompts users for their WPA/WPA2 key.
  • Spawns a jammer, deauthenticating all clients from original AP and lureing them to the rogue AP.
  • All authentication attempts at the captive portal are checked against the handshake file captured earlier.
  • The attack will automatically terminate once a correct key has been submitted.
  • The key will be logged and clients will be allowed to reconnect to the target access point.
  • For a guide to the Captive Portal attack, read the Captive Portal attack guide

Requirements
A Linux-based operating system. We recommend Kali Linux 2 or Kali rolling. Kali 2 & rolling support the latest aircrack-ng versions. An external wifi card is recommended.

Related work
For development I use vim and tmux. Here are my dotfiles

Credits
  1. l3op - contributor
  2. dlinkproto - contributor
  3. vk496 - developer of linset
  4. Derv82 - @Wifite/2
  5. Princeofguilty - @webpages and @buteforce
  6. Photos for wiki @http://www.kalitutorials.net
  7. Ons Ali @wallpaper
  8. PappleTec @sites
  9. MPX4132 - Fluxion V3

Disclaimer
  • Authors do not own the logos under the /attacks/Captive Portal/sites/ directory. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research.
  • The usage of Fluxion for attacking infrastructures without prior mutual consent could be considered an illegal activity, and is highly discouraged by its authors/developers. It is the end user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program.

Note
  • Beware of sites pretending to be related with the Fluxion Project. These may be delivering malware.
  • Fluxion DOES NOT WORK on Linux Subsystem For Windows 10, because the subsystem doesn't allow access to network interfaces. Any Issue regarding the same would be Closed Immediately

Links
Fluxion website: https://fluxionnetwork.github.io/fluxion/
Discord: https://discordapp.com/invite/G43gptk
Gitter: https://gitter.im/FluxionNetwork/Lobby




Related links


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

Face Book