Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/01/2025, 17:42

General

  • Target

    2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe

  • Size

    12.4MB

  • MD5

    cf2e3c0be26450cbab80b728d8789650

  • SHA1

    58f4d81c6127d6da8dfde18fdfaa433aba54af12

  • SHA256

    dc7c95788c1c469180356c18a99f3ad1b71f609eabbd51a85966f83f245c252b

  • SHA512

    3f8222faa36a11ab4d0344cc475902d5a482dd58ef4b2922cf536dcc62c076a678fa6ffc34ffbc3b3215709032c790d19ca613b138b09a174756dce656cb974c

  • SSDEEP

    49152:zqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:zqtYc3

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-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxmvarro\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xwkmaxyq.exe" C:\Windows\SysWOW64\sxmvarro\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sxmvarro binPath= "C:\Windows\SysWOW64\sxmvarro\xwkmaxyq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sxmvarro "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sxmvarro
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4924
    • 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:4484
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3712 -s 1264
      2⤵
      • Program crash
      PID:3960
  • C:\Windows\SysWOW64\sxmvarro\xwkmaxyq.exe
    C:\Windows\SysWOW64\sxmvarro\xwkmaxyq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3820
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2344
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3820 -s 512
      2⤵
      • Program crash
      PID:2616
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3712 -ip 3712
    1⤵
      PID:4716
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3820 -ip 3820
      1⤵
        PID:4744

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        8bdbca894376b8c9a864ac11879ddb58

        SHA1

        8edf0912d7a6574770ec52d56d89ced568d5c5ab

        SHA256

        0fa9658a9944e2a5fd88eb5fa7b9bd44cd065257f3aeaac1e645566f0fecd131

        SHA512

        974fbcdeaf2219b4fe8fcb4e95e740dbb705c6f8460147fd8f73f073fd387c0d70127a2bc9ed989310ddee9d21e2a1c4b1d319435dd73ce0c1ca364386a6690f

      • memory/2344-8-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2344-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2344-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3712-1-0x0000000003000000-0x0000000003100000-memory.dmp

        Filesize

        1024KB

      • memory/3712-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3712-12-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

      • memory/3712-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3712-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/3820-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB