Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 20:30

General

  • Target

    2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe

  • Size

    14.8MB

  • MD5

    d4364d05e95824b67db490a8d95f9fdd

  • SHA1

    ef331c4235f32556a897c8b88f147358b968cccc

  • SHA256

    abadc617e8a448d3c4c6a6137202bb4fdbaae647610b36c9abbfa91aab40239d

  • SHA512

    8f12bb9a3d3eb20b63946eb2a34fd3d6542383bd1ed85744f71b7945a88f559c6a15fd6cdc2483a3bec7edf96374f5bfadd2cdcd00b4937997facb12865ca830

  • SSDEEP

    3072:kLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:hOMdRQr7OB0ypmMXnl8XEPM3noSWOC

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3872
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wdyqakbo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4140
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qhpnxszn.exe" C:\Windows\SysWOW64\wdyqakbo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wdyqakbo binPath= "C:\Windows\SysWOW64\wdyqakbo\qhpnxszn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wdyqakbo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wdyqakbo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4448
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3872 -s 896
      2⤵
      • Program crash
      PID:1472
  • C:\Windows\SysWOW64\wdyqakbo\qhpnxszn.exe
    C:\Windows\SysWOW64\wdyqakbo\qhpnxszn.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1188
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1188 -s 512
      2⤵
      • Program crash
      PID:2344
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3872 -ip 3872
    1⤵
      PID:4856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1188 -ip 1188
      1⤵
        PID:2920

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\qhpnxszn.exe

        Filesize

        10.2MB

        MD5

        7191396f7b6fec77fd9b21c20e92a95f

        SHA1

        616242130ebbae912d99c9309654790f7ba6e9f2

        SHA256

        c28e6537c08d928d5ad4c3c8bbdf7a37dbf82a1233c1c6392c17df7d4fb02650

        SHA512

        dc717a40efdfd70851ef7fd465d84e95d92ab4247b573b50531e227f00d7a39c0d57815699282ccf2345a745fef088f2e615f1e9affca798c7bf6e6418b3390d

      • memory/1188-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1188-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1188-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1188-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2700-14-0x00000000006F0000-0x0000000000705000-memory.dmp

        Filesize

        84KB

      • memory/2700-16-0x00000000006F0000-0x0000000000705000-memory.dmp

        Filesize

        84KB

      • memory/2700-17-0x00000000006F0000-0x0000000000705000-memory.dmp

        Filesize

        84KB

      • memory/3872-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3872-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/3872-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3872-8-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/3872-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/3872-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB