Cyber security

RunAs-Stealer : A Credential Stealing Tool

RunAs-Stealer is a sophisticated credential stealing tool that employs three distinct techniques to capture sensitive user information: Hooking CreateProcessWithLogonW, Smart Keylogging, and Remote Debugging.

This tool operates stealthily in the background, requiring manual termination via Task Manager.

Techniques Used

  1. Hooking CreateProcessWithLogonW:
    • This method involves intercepting the CreateProcessWithLogonW function, which is used to create a new process with specific credentials.
      • By hooking into this function, RunAs-Stealer can capture credentials as they are being used to log on to processes.
  2. Smart Keylogging:
    • Keylogging is a technique where every keystroke is recorded. The “smart” aspect likely refers to advanced filtering or encryption methods to capture only relevant data, such as passwords or sensitive information, while minimizing unnecessary data collection.
  3. Remote Debugging:
    • This technique leverages remote debugging tools, typically used for legitimate software development, to access and manipulate processes on a remote system.
      • In the context of RunAs-Stealer, it could be used to inject code into running applications to extract credentials.
  • Data Storage: The stolen credentials are stored in an Alternate Data Stream (ADS) of the desktop.ini file located on the user’s desktop. This method allows the data to remain hidden from casual observation.
  • Retrieving Credentials: Users can view the stolen credentials by running a specific command in the Command Prompt: more < "C:\Users\<Username>\Desktop\desktop.ini:log".
  • Removing Credentials: To delete the stored credentials, a PowerShell command can be used: Remove-Item -Path "C:\Users\<Username>\Desktop\desktop.ini" -Stream "log".

The tool comes with demo videos for each technique, providing visual guidance on how to use and test the features of RunAs-Stealer.

These demos are essential for understanding the full capabilities and potential risks associated with this tool.

RunAs-Stealer highlights the evolving nature of credential theft techniques, emphasizing the need for robust security measures to protect user credentials.

Traditional anti-malware solutions may not be sufficient to prevent such advanced threats, necessitating more specialized security tools and practices to safeguard sensitive information.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Install Pip on Ubuntu 18.04: Python 3 and Python 2 Setup Guide

Pip is the official package manager for Python and the standard way to install libraries from…

21 hours ago

Install R on Ubuntu 18.04 from CRAN: Statistical Computing Setup

R is an open-source programming language and environment built for statistical computing and data visualization. It…

21 hours ago

Install Jenkins on Ubuntu 18.04: CI/CD Server Setup Guide

Jenkins is an open-source automation server that makes it easy to build CI/CD pipelines. Continuous integration…

22 hours ago

Install Android Studio on Ubuntu 18.04 with Snap and OpenJDK 8

Android Studio is the official IDE for Android development, built on JetBrains' IntelliJ IDEA platform. It…

22 hours ago

Install and Configure GitLab on Ubuntu 18.04 with Omnibus

GitLab is a web-based, open-source Git repository manager written in Ruby. It includes built-in tools for…

22 hours ago

Install Anaconda on Ubuntu 18.04: Python Data Science Setup Guide

Anaconda is the most widely used Python distribution for data science and machine learning. It bundles…

2 days ago