Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2025 18:30

General

  • Target

    2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe

  • Size

    11.8MB

  • MD5

    24bd85cfd4f367380324d69d46805978

  • SHA1

    9ae1e14cd3733e22bf9be7f9fb8dc06ec4425abc

  • SHA256

    12b0178d8d6ad98ac457790240a3c04c3b74d3b47876ab525cfcf8c0cfcfd930

  • SHA512

    473902b4699dbc65d9d501f2cf3241223f039116a74dd66ea9203d4330f876956c6aa70fbaf8a00d0190e28c32dd4a00e37f0da952b6d55d0a07271d2e17b289

  • SSDEEP

    3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:ROMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1188
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\alsmjej\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pgomwrym.exe" C:\Windows\SysWOW64\alsmjej\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create alsmjej binPath= "C:\Windows\SysWOW64\alsmjej\pgomwrym.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description alsmjej "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start alsmjej
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2448
    • 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:5048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1188 -s 1180
      2⤵
      • Program crash
      PID:1112
  • C:\Windows\SysWOW64\alsmjej\pgomwrym.exe
    C:\Windows\SysWOW64\alsmjej\pgomwrym.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4372
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4372 -s 512
      2⤵
      • Program crash
      PID:3184
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1188 -ip 1188
    1⤵
      PID:4188
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4372 -ip 4372
      1⤵
        PID:3100

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        28a9364d6e3844a189e4d736d69313d6

        SHA1

        93177b96b6703eed2fac5dbaa2fae594b25a66b4

        SHA256

        be4fba54a1dfbd65e2b64fa6c6b74e084bf194dfdba4cb2417c9b809a9fa34d1

        SHA512

        b21cdd179321b8d8298c95dbb489e5d1c1decbfa7632d51da828851e90bf6bb8ad4c528ebbdba42ee6aed08590c09d4163d7e35b7f8948756ed7a283426d4249

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1188-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

      • memory/1188-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1188-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/3112-14-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/3112-16-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/3112-17-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB