Analysis

  • max time kernel
    149s
  • max time network
    145s
  • 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 14:33

General

  • Target

    2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe

  • Size

    12.7MB

  • MD5

    97f05b514a867f29502c66a18573b6e1

  • SHA1

    e3ad4e5ebb38ef6c1808e33ba73a8f94593748c6

  • SHA256

    88363bf0c273a65c292dc131c24538ffa519d2ba016d287c4d9be0d921a4d949

  • SHA512

    d4e00ff51b2dbeed0d3b9890d41c0ada4557488375f52484d5319264334c63f55d150f80383593f5d68ca076a30d92cf7b1a1c8f6e118f2c08e742f21d510a50

  • SSDEEP

    24576:GEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZR:/fotj

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_97f05b514a867f29502c66a18573b6e1_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gmbxexvz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lniohue.exe" C:\Windows\SysWOW64\gmbxexvz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gmbxexvz binPath= "C:\Windows\SysWOW64\gmbxexvz\lniohue.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gmbxexvz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gmbxexvz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4188
    • 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:4152
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3596 -s 1044
      2⤵
      • Program crash
      PID:4904
  • C:\Windows\SysWOW64\gmbxexvz\lniohue.exe
    C:\Windows\SysWOW64\gmbxexvz\lniohue.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1644
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1644 -s 560
      2⤵
      • Program crash
      PID:3476
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3596 -ip 3596
    1⤵
      PID:244
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 1644 -ip 1644
      1⤵
        PID:428

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        21888bbd791fef8ae20f6c0e3ca52b5e

        SHA1

        01e1a242675ede8bec2cf8afff4952d3cd379877

        SHA256

        8ed7880b30ef554dec0564d767e098085a793e80dddec91d88646a88dab00a8e

        SHA512

        a608fd1b0b8d2d644a4cff3860c2e9c2550f25563d7502fbc1497c74736e16e2832516700ad970fc238711baccde3222202866314d7d70d9f45e49538cf69a26

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1644-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3596-2-0x0000000000890000-0x00000000008A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3596-8-0x0000000000890000-0x00000000008A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3596-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB

      • memory/4364-14-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/4364-16-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/4364-17-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB