Analysis

  • max time kernel
    146s
  • 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
    26-01-2025 18:30

General

  • Target

    2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe

  • Size

    12.9MB

  • MD5

    67130b094de0fe4c0539061c2ba38696

  • SHA1

    d8bf6739ccda3916988e174d9756dc1cffa36c3f

  • SHA256

    5166bc7f68594a18219bbe7ae713b68b3b4820848448d8db4525460d73ad84d8

  • SHA512

    ce05d1ccfbd527fbf66c77d4b68cc749eeef6106502355fdf237f746ed55cdcae7da7ce5244a57c3e7e59a8d094ba0cf8358bb8bc81375dc5a0d27880fb2019f

  • SSDEEP

    49152:XqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:XqtYc3

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-26_67130b094de0fe4c0539061c2ba38696_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yerwuibo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cezfylv.exe" C:\Windows\SysWOW64\yerwuibo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yerwuibo binPath= "C:\Windows\SysWOW64\yerwuibo\cezfylv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yerwuibo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yerwuibo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4804
    • 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:4884
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2156 -s 1036
      2⤵
      • Program crash
      PID:2516
  • C:\Windows\SysWOW64\yerwuibo\cezfylv.exe
    C:\Windows\SysWOW64\yerwuibo\cezfylv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_67130b094de0fe4c0539061c2ba38696_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1888
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1888 -s 536
      2⤵
      • Program crash
      PID:1388
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 1888 -ip 1888
    1⤵
      PID:1416
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 2156 -ip 2156
      1⤵
        PID:5012

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        6dd13a57c6a06a93be7ae34d9cb92a6a

        SHA1

        4a7551506dcd411a6385e2a985ba4429de2f63ea

        SHA256

        103f257a6c4a8617124389d69bc1ae7315e8c0d773548b1eed2d4a4044bdd2be

        SHA512

        8dfcb3439993a08c21330a926ef161ff0a81f05879a81baad13bfb025c414f161d18590717277ae0c34fd4113caa66cc524589ee919a572936273ad0fa105cc9

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

        Filesize

        41.8MB

      • memory/2156-1-0x0000000002FE0000-0x00000000030E0000-memory.dmp

        Filesize

        1024KB

      • memory/2156-2-0x0000000002EF0000-0x0000000002F03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2156-12-0x0000000002EF0000-0x0000000002F03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB

      • memory/3524-8-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/3524-15-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/3524-14-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB