Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 13:07

General

  • Target

    JaffaCakes118_40cf615661d60af60816ce6b8824621bb0c7989416133b4dece514828e047a87.exe

  • Size

    317KB

  • MD5

    b2c22bb0daa9e99c491dec5c7553b779

  • SHA1

    8649b29c65040ce271a9b7061756b43654e81422

  • SHA256

    40cf615661d60af60816ce6b8824621bb0c7989416133b4dece514828e047a87

  • SHA512

    1c633efa02f85489102a1924cc3ff60cfd7e4c55da49dc9603f2b651bde431c5be801aa3d33b9bcb93fed0e2c79194466edf0debbd55f4b4e43a049279f075c2

  • SSDEEP

    3072:fpYUXsWrIhiyl41Fsfs1hev60WrxpzbgqruPhsJVggjcGkNIVqIbkY:fpYMXo4MSev60uzbgwuyr7ITsqz

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.info

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\JaffaCakes118_40cf615661d60af60816ce6b8824621bb0c7989416133b4dece514828e047a87.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_40cf615661d60af60816ce6b8824621bb0c7989416133b4dece514828e047a87.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3624
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fwqyzuuy\
      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\qbcuhfxi.exe" C:\Windows\SysWOW64\fwqyzuuy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fwqyzuuy binPath= "C:\Windows\SysWOW64\fwqyzuuy\qbcuhfxi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_40cf615661d60af60816ce6b8824621bb0c7989416133b4dece514828e047a87.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fwqyzuuy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:60
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fwqyzuuy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2916
    • 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:4416
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3624 -s 1208
      2⤵
      • Program crash
      PID:5016
  • C:\Windows\SysWOW64\fwqyzuuy\qbcuhfxi.exe
    C:\Windows\SysWOW64\fwqyzuuy\qbcuhfxi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_40cf615661d60af60816ce6b8824621bb0c7989416133b4dece514828e047a87.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1496
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1496 -s 512
      2⤵
      • Program crash
      PID:2424
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3624 -ip 3624
    1⤵
      PID:3092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 1496 -ip 1496
      1⤵
        PID:4604

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        8eb09d00f45f74be37795bdf1f9b1782

        SHA1

        bb181f44ce6e5fbdd9aa729a6bc4c9f038d7404f

        SHA256

        58dab5e9330724f7c0a475524665eecc11adba3c55212a437787c97b59165051

        SHA512

        ade24d5245050a0c1a51eb56231c9559e36f10b2fbfd9572767ae043b793c5d7f9ee6b2530d41d54b1ff13f5fcd5181985b5e84ea660bfbeb785388b292c9bee

      • memory/1496-14-0x0000000000400000-0x0000000002B84000-memory.dmp

        Filesize

        39.5MB

      • memory/2832-10-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB

      • memory/2832-12-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB

      • memory/2832-13-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB

      • memory/3624-0-0x00000000048D0000-0x00000000048DD000-memory.dmp

        Filesize

        52KB

      • memory/3624-1-0x00000000048E0000-0x00000000048F3000-memory.dmp

        Filesize

        76KB

      • memory/3624-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3624-8-0x00000000048E0000-0x00000000048F3000-memory.dmp

        Filesize

        76KB

      • memory/3624-7-0x00000000048D0000-0x00000000048DD000-memory.dmp

        Filesize

        52KB

      • memory/3624-6-0x0000000000400000-0x0000000002B84000-memory.dmp

        Filesize

        39.5MB