Analysis

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

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

General

  • Target

    2025-01-18_bee29004aafc91f6dc983b3395338d49_mafia.exe

  • Size

    13.9MB

  • MD5

    bee29004aafc91f6dc983b3395338d49

  • SHA1

    8f0a1937eff8cd116d16147a90cd4df8d7e59746

  • SHA256

    15d808778e4fd9319cf62ebb3eb725b8848d4bf314d24d947f0fedf1a19afb19

  • SHA512

    99e28afd279e0d0d41622d4127e676b0c4caf1a4308490e724e34c1eb1f7c1a2da26763cafd10c92d1c5910fae70f4235a30b115a3174521027259395b6b73ab

  • SSDEEP

    24576:W6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ4:XWdLQk

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-18_bee29004aafc91f6dc983b3395338d49_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_bee29004aafc91f6dc983b3395338d49_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mntgaulf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bdwhowka.exe" C:\Windows\SysWOW64\mntgaulf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mntgaulf binPath= "C:\Windows\SysWOW64\mntgaulf\bdwhowka.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_bee29004aafc91f6dc983b3395338d49_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mntgaulf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mntgaulf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3556
    • 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:208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2696 -s 1036
      2⤵
      • Program crash
      PID:4180
  • C:\Windows\SysWOW64\mntgaulf\bdwhowka.exe
    C:\Windows\SysWOW64\mntgaulf\bdwhowka.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_bee29004aafc91f6dc983b3395338d49_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3980
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3900
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3980 -s 556
      2⤵
      • Program crash
      PID:4792
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2696 -ip 2696
    1⤵
      PID:2608
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 3980 -ip 3980
      1⤵
        PID:5100

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        5f78f192f40986daa8ff303f9dfe52d7

        SHA1

        4aabdfa7cbb0d88fa807b51b1cb4d6770c716a1f

        SHA256

        1044f8fabb7cf0c81374057390978dd51e27d36bb74019ff3018a5cdd6fc8d02

        SHA512

        f2ffb1275d215b93eb07d0ad1a2fdfb618c69c7fe618caac2e86a7e5904931266b095d14924aa40f5e75c38005c25031f873d6a4ba15c75fa4dd5a5ebda6c6a8

      • memory/2696-8-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2696-2-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

      • memory/2696-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/2696-1-0x0000000000580000-0x0000000000680000-memory.dmp

        Filesize

        1024KB

      • memory/3900-14-0x0000000001060000-0x0000000001075000-memory.dmp

        Filesize

        84KB

      • memory/3900-16-0x0000000001060000-0x0000000001075000-memory.dmp

        Filesize

        84KB

      • memory/3900-17-0x0000000001060000-0x0000000001075000-memory.dmp

        Filesize

        84KB

      • memory/3980-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3980-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3980-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3980-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB