Analysis

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

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

General

  • Target

    2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe

  • Size

    10.7MB

  • MD5

    3233786abe3f10c3b3c7248873abf10a

  • SHA1

    6ed54a117d5f9a237d4d15b5db518dbcaf2ae63a

  • SHA256

    eed0b339509bc0a1ba496841e9148ce2b01100f39cf4c08568714156d7072e6a

  • SHA512

    2b06f09f9a04f1e9e0b8c155772f709297bb83785d052029fa090546857e3265c0dd9e790f6523d3feea5ee5cdef2de62096e54c3ebce02b086315c19e7f76c7

  • SSDEEP

    24576:+pomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttl:Soo

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-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\egkytlsv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ctbzjelz.exe" C:\Windows\SysWOW64\egkytlsv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create egkytlsv binPath= "C:\Windows\SysWOW64\egkytlsv\ctbzjelz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description egkytlsv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start egkytlsv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4052
    • 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:4760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3416 -s 1036
      2⤵
      • Program crash
      PID:2044
  • C:\Windows\SysWOW64\egkytlsv\ctbzjelz.exe
    C:\Windows\SysWOW64\egkytlsv\ctbzjelz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:912
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 912 -s 532
      2⤵
      • Program crash
      PID:1596
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3416 -ip 3416
    1⤵
      PID:3380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 912 -ip 912
      1⤵
        PID:404

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        40ec469b08017d523eeda64adae1edfd

        SHA1

        cc71377c46d5a522d005875e79af26779b4c68c9

        SHA256

        b718c7bce29412c1a09fca4537a520e29a6292734b49c2c1f84209cfc22206d7

        SHA512

        60ff666d76c25f6458787b068c67874b65356c80777d6c56df4d7ebc9c0381bcea0df6e7e3f76caefa752351da6fc83d3e736df6b093c93e266ede4d307986a5

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/912-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3416-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3416-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/3416-1-0x0000000000600000-0x0000000000700000-memory.dmp

        Filesize

        1024KB

      • memory/3988-14-0x00000000001D0000-0x00000000001E5000-memory.dmp

        Filesize

        84KB

      • memory/3988-16-0x00000000001D0000-0x00000000001E5000-memory.dmp

        Filesize

        84KB

      • memory/3988-17-0x00000000001D0000-0x00000000001E5000-memory.dmp

        Filesize

        84KB