HabrAugust 8, 2026🇷🇺Translated from Russian

Reverse Engineering Tutorial Explores Hybrid Analysis of Linux x86-64 Crackme Using Ghidra and GDB

A comprehensive tutorial series introduces readers to hybrid reverse engineering of a Linux crackme titled Getting started keygen authored by Mazzotti. The binary presents itself as an introductory challenge yet contains realistic C++ constructs including optimized stack frames, mangled names, and opaque data structures.

The first article begins with basic triage using the file command, revealing a 64-bit PIE ELF dynamically linked against libc and libstdc++. Strings extraction surfaces user prompts such as "Enter a string of characters (no spaces)" and responses including "Bro, what are you trying to do?" and "OMG! You did it! :3".

Static analysis proceeds in Ghidra, where the analyst locates the true entry point at address 0x1340, demangles C++ symbols, and identifies imported std::string operations. The tutorial contrasts non-optimized and optimized (-O1) compilation outputs to explain why the frame pointer is omitted and why Ghidra initially mislabels stack variables such as local_58 and local_7c.

Dynamic validation occurs inside GDB with careful calculation of ASLR-adjusted addresses. Breakpoints placed before and after input allow verification of stack layout, growth and shrinkage behavior, and the actual four-byte size of certain locals that the decompiler had sized incorrectly.

The series stresses iterative refinement: decompiler output supplies hypotheses, the debugger confirms or refutes them, and corrected information is returned to Ghidra to improve type recovery. Subsequent installments will apply mutation testing and reconstruct the hidden validation algorithm in Python.

Related articles

BoletimSecMalware & Botnets

KREMLIN Banking Malware Hijacks Chrome and Edge to Steal Credentials and Session Tokens in Brazil

Elastic Security Labs researchers have detailed the operations of the KREMLIN banking malware, tracked under the identifier REF9334, which targets Chrome and Edge browsers to harvest credentials and session tokens. The campaign focuses almost exclusively on Brazil, with 98 percent of the 1,515 identified infections located in the country and impersonating a dozen Brazilian banks. Infection begins with multi-stage JavaScript loaders disguised as banking documents, invoices, or corporate papers that require manual execution by the victim. The loaders then deploy C++ installers and malicious browser extensions that modify the Secure Preferences file, enable developer mode, and overwrite protection objects with forged metadata using a technique called Phantom Extension. Once active, the extension collects session tokens, cookies, sessionStorage and localStorage data, 15 days of browsing history, screenshots, open tab information, and full HTML of visited pages. The operation has run since May 2025 across seven distinct campaigns and began using Ethereum smart contracts for infrastructure on 19 May 2026.

BoletimSecMalware & Botnets

Malicious Twitch Extension Steals OAuth Tokens from Nearly 31,000 Users

A browser extension posing as an enhancement for Twitch has been stealing OAuth authentication tokens from approximately 31,000 users across Chrome and Firefox. The extension, known as Twitch Enhanced Viewer or JeetBot, was discovered by researcher Kush Pandya of Socket. It promised 1080p streaming in restricted regions and an ad-free experience while covertly exfiltrating session tokens to attacker-controlled servers. The tokens were transmitted in plaintext via network-layer redirects, allowing full access to chat functions, private messages, and account settings. Both the Chrome version with around 30,000 installations since June 26, 2025, and the Firefox version with 604 users since July 7, 2025, remained available in official stores at the time of reporting. Users are advised to immediately disable the extension and revoke active Twitch sessions to invalidate stolen tokens.

BoletimSecMalware & Botnets

Casbaneiro Banking Trojan Targets Financial Institutions in Argentina, Peru, Colombia and Mexico

Fortinet researchers identified a Casbaneiro campaign in August that specifically targets bank customers across four Latin American countries. The infection begins with a PDF attachment that displays the recipient's own email address to build credibility and creates urgency around an unpaid invoice or judicial notice. The PDF link performs IP-based geofencing, redirecting non-target visitors to Google or YouTube while delivering a Base64-encoded ZIP only to victims in the selected countries. Inside the archive, an HTA file downloads the legitimate AutoIt interpreter along with a compiled script and compressed payload, helping evade binary-focused defenses. The malware stays dormant until the victim visits a monitored banking website, at which point it activates its C2 channel, exfiltrates Outlook contact data, and can display bank-specific credential-harvesting overlays. Additional remote-access capabilities allow operators to control the keyboard, manipulate the clipboard, and execute arbitrary commands on the infected system.

BoletimSecMalware & Botnets

Cybercriminals Distribute NJRAT, DCRAT and Chaos via Fake GTA 6 Downloads

Threat actors are leveraging anticipation around GTA 6 to spread multiple malware families through fake game downloads. Security researchers at Huntress identified campaigns that combine search-engine poisoning, gaming forums, torrent sites and social-media posts to deliver oversized fake ISO files exceeding 100 GB. Victims who execute the installer see Russian-language messages claiming an invalid crack or missing license, while remote-access tools and data stealers run silently in the background. The delivered payloads include NJRAT and DCRAT for keystroke logging, screen capture and webcam access, Mercurial Grabber for harvesting browser credentials and Discord tokens, and the Chaos wiper that encrypts small files and overwrites larger ones. The operation primarily targets Russian-speaking gamers, as indicated by the ransom note and error messages. Analysts recommend avoiding unofficial downloads and isolating any compromised systems immediately.