Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-12-2024 20:16

General

  • Target

    2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe

  • Size

    13.6MB

  • MD5

    3a520821a3474fa9f0a5f78ae6c2ba71

  • SHA1

    52c182776432498305b5750574a9184a62ad72ec

  • SHA256

    a1d5bfbffc5aec432e7e8a2a5be5ffe16f7489c545fcb616df931f2e95591803

  • SHA512

    2d02478bd1c058ad2b659bcf4eea56082edc8bcb6c76c5a73144950f83850986e799f12a7dffc2668e44c66a33553c3d0084fb228f52d9e0bd86b003721a9e5a

  • SSDEEP

    3072:5LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:8OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lyuoexwe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zcicrcnt.exe" C:\Windows\SysWOW64\lyuoexwe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lyuoexwe binPath= "C:\Windows\SysWOW64\lyuoexwe\zcicrcnt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lyuoexwe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lyuoexwe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1752
    • 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:4672
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4248 -s 1284
      2⤵
      • Program crash
      PID:2188
  • C:\Windows\SysWOW64\lyuoexwe\zcicrcnt.exe
    C:\Windows\SysWOW64\lyuoexwe\zcicrcnt.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4656
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4656 -s 508
      2⤵
      • Program crash
      PID:1244
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4248 -ip 4248
    1⤵
      PID:1624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4656 -ip 4656
      1⤵
        PID:628

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        fad69f38a4097171926d46a26d6e4867

        SHA1

        fe3952a486f93312bd16a83675f09e6d7bea2c0a

        SHA256

        44afc4b2fb0d597a714789500c04e2a45c0f1d14f27d0d0155538e4046ea36d5

        SHA512

        4a664501d0c8aecc6003139eabb3e14b86032a327f5e00307e1fd960b98b30859d7c20f5bc42466893ab0f8bde1648b6d0d61b7e463e5fe7a3e02547c7f28040

      • memory/3212-14-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/3212-17-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/3212-16-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/4248-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4248-1-0x0000000000540000-0x0000000000640000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4248-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB