Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2024 19:58

General

  • Target

    2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe

  • Size

    14.1MB

  • MD5

    8af6002a981252a165b5d1e4922816b5

  • SHA1

    c0123dc3b19fdc3946afc95876956980e46357c7

  • SHA256

    a0abc9943a508f9fe58aa49a3d90f88359c97cad7da5e3879dcd5ad86f65a98f

  • SHA512

    56d900a15734a32fbece3831ca9cf0c1a887a3831d11c67fa758cd10681272cbdf4c315ce76c175e304c31328fd35504abb55a45d1d4350280f183a41ea0a2ad

  • SSDEEP

    49152:vVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGW:vVdrl/9zG

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\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uniydix\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcjgfcyz.exe" C:\Windows\SysWOW64\uniydix\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uniydix binPath= "C:\Windows\SysWOW64\uniydix\hcjgfcyz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uniydix "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2080
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uniydix
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2924
    • 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:3852
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2812 -s 788
      2⤵
      • Program crash
      PID:1928
  • C:\Windows\SysWOW64\uniydix\hcjgfcyz.exe
    C:\Windows\SysWOW64\uniydix\hcjgfcyz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3788
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3788 -s 512
      2⤵
      • Program crash
      PID:1228
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2812 -ip 2812
    1⤵
      PID:3160
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3788 -ip 3788
      1⤵
        PID:1708

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        ac35a404dafba0f53a5845bf2dd78c2d

        SHA1

        e17a8f13d4fef40640302246235395a96c3bc6ac

        SHA256

        ac7a3e3a6d2faa4da2eb9f75662b3f9c7340f66e4781252626ef9918106f5d88

        SHA512

        f3405322a2ae9bee75350a85bd11adda29322e836e997f483d3c8b3863e33c3308cedbd80b29a06fa10e7f50d82086d2702fb1ff63e5414c5ddd4e4dc7872522

      • memory/556-14-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/556-17-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/556-16-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/2812-7-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/2812-8-0x0000000002280000-0x0000000002293000-memory.dmp

        Filesize

        76KB

      • memory/2812-1-0x00000000006C0000-0x00000000007C0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2812-2-0x0000000002280000-0x0000000002293000-memory.dmp

        Filesize

        76KB

      • memory/3788-11-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3788-13-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3788-12-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3788-18-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB