Analysis

  • max time kernel
    149s
  • 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
    28/01/2025, 10:45

General

  • Target

    2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe

  • Size

    11.3MB

  • MD5

    c5c84333e789e6a438348a5486a6d01c

  • SHA1

    29f733539b5bf6f1cd2b9f26598e50ac8eb9e922

  • SHA256

    97b12ec9acdaf954e9b4146a812dee8769dad50e1518505098fea65e0d612623

  • SHA512

    413f2af7181bdc2940e05a98f3911aab7d71dc61c8f6199290f552bff7b0d00842065b251528ab6ccc787e275836a9286b022ba1e3ce04c2a79d354c7a4cc020

  • SSDEEP

    24576:FEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZD:Ofot

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-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uhheauqp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eyypajac.exe" C:\Windows\SysWOW64\uhheauqp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uhheauqp binPath= "C:\Windows\SysWOW64\uhheauqp\eyypajac.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2308
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uhheauqp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uhheauqp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2372
    • 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:2528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3576 -s 1184
      2⤵
      • Program crash
      PID:1288
  • C:\Windows\SysWOW64\uhheauqp\eyypajac.exe
    C:\Windows\SysWOW64\uhheauqp\eyypajac.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4804
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4804 -s 512
      2⤵
      • Program crash
      PID:3648
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3576 -ip 3576
    1⤵
      PID:3328
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 520 -p 4804 -ip 4804
      1⤵
        PID:1900

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        937774c171753f522694da7ee90f3a04

        SHA1

        f73993241b7a6561543b2be9d9c4f8399edad78b

        SHA256

        d46865ed0ee56d3d1d1b73ee3934290f707a2ab799becc30b76639fee66b1221

        SHA512

        4ce4e2facc3bf0f6ec93163cf93c97fe41a837dec851ac5a7d9c03805d3679650502865885e0b70469a114cbd7fcf9328664c9e399c3d499c9db1b4fa26a66e9

      • memory/3336-16-0x0000000000560000-0x0000000000575000-memory.dmp

        Filesize

        84KB

      • memory/3336-17-0x0000000000560000-0x0000000000575000-memory.dmp

        Filesize

        84KB

      • memory/3336-14-0x0000000000560000-0x0000000000575000-memory.dmp

        Filesize

        84KB

      • memory/3576-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3576-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3576-1-0x00000000004D0000-0x00000000005D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB