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
    25-12-2024 21:43

General

  • Target

    2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe

  • Size

    14.0MB

  • MD5

    f5ef0966ceb9709a7d695f7979474cf9

  • SHA1

    74b0587f3eaa55eb9cfa5739ed4dabf9037e1677

  • SHA256

    49a033d771191012c9443e4f3114df4481dc58a99c1bc0de52a6c6d4254ec485

  • SHA512

    afabe7617a87900501488b861247525d0dc80022215dd1311ac18a430f95d4a5dd6f7fbfddc1615230e4948324e0d1d9c7d678de5ed61cfb09a085af52fbd9c1

  • SSDEEP

    3072:oLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:lOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mjoqnat\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eclmvrgc.exe" C:\Windows\SysWOW64\mjoqnat\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mjoqnat binPath= "C:\Windows\SysWOW64\mjoqnat\eclmvrgc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mjoqnat "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mjoqnat
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3496
    • 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:3700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4884 -s 1200
      2⤵
      • Program crash
      PID:5116
  • C:\Windows\SysWOW64\mjoqnat\eclmvrgc.exe
    C:\Windows\SysWOW64\mjoqnat\eclmvrgc.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1160
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1160 -s 508
      2⤵
      • Program crash
      PID:4700
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4884 -ip 4884
    1⤵
      PID:612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1160 -ip 1160
      1⤵
        PID:3596

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        125436e3b5b086c903ce7a9324def6e7

        SHA1

        d86a8b21942a915b68a9cc9c4098038f7b10479f

        SHA256

        b16c34dd70bfba03ae90d6f0909ff879752b185697a4bc7c2994ca99f3c1e9a6

        SHA512

        346d0dd7b39b51bdf17eccfc097ba7d6d9302428dac2d92ba3a5654211990293edacc7088b381712e28480bc2e807f3d47b1fe28da6d8abbea06c7cfd4d47900

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2636-14-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/2636-16-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/2636-17-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4884-1-0x0000000000700000-0x0000000000800000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4884-8-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

      • memory/4884-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB