Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 00:11

General

  • Target

    JaffaCakes118_364ae9c5cdf3bf4e477155a84d1a18d43c74074891819cff85d9741ad5a9f5c3.exe

  • Size

    295KB

  • MD5

    bf217862842c46b8757f366e820a86f0

  • SHA1

    8a0f595178acd3e2ccda4c7d50d18cd76aa8eb2e

  • SHA256

    364ae9c5cdf3bf4e477155a84d1a18d43c74074891819cff85d9741ad5a9f5c3

  • SHA512

    357b54ce1b33dcaa7df998154cb8c0d0507d23b350428f2377f6c68be05f07af117fa3d4b460f9874da5acee4eb5805d0e58b7ae0faf41af64f348c275a2a02b

  • SSDEEP

    6144:tEPes46o9a0hKGJXjasSXuZet0yy8coHPk85Gm:tG46o9a8JXGsSXuZet0yy8c185z

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\JaffaCakes118_364ae9c5cdf3bf4e477155a84d1a18d43c74074891819cff85d9741ad5a9f5c3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_364ae9c5cdf3bf4e477155a84d1a18d43c74074891819cff85d9741ad5a9f5c3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vjgewayr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cvgwhexq.exe" C:\Windows\SysWOW64\vjgewayr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vjgewayr binPath= "C:\Windows\SysWOW64\vjgewayr\cvgwhexq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_364ae9c5cdf3bf4e477155a84d1a18d43c74074891819cff85d9741ad5a9f5c3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vjgewayr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vjgewayr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3004
    • 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:3492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3996 -s 796
      2⤵
      • Program crash
      PID:2820
  • C:\Windows\SysWOW64\vjgewayr\cvgwhexq.exe
    C:\Windows\SysWOW64\vjgewayr\cvgwhexq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_364ae9c5cdf3bf4e477155a84d1a18d43c74074891819cff85d9741ad5a9f5c3.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:2932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1496 -s 512
      2⤵
      • Program crash
      PID:4424
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3996 -ip 3996
    1⤵
      PID:1336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1496 -ip 1496
      1⤵
        PID:3892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        d4c12221e36349a131c1451f124353af

        SHA1

        037126b7243780f675922f8d91d4b253d877d04f

        SHA256

        38e450f8a886cd95ca1da3aaa2eb10fb5455193e092bde69cef51afb95c65ae6

        SHA512

        7425d34aa27ab4d4910d318cb79e6e3806944721776b609f39f68b50ca166a82db884fec980823022c7c3d156c0aa3e40f6f310e8c4519205ebeec932d480948

      • memory/1496-15-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB

      • memory/2932-11-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/2932-13-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/2932-14-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3996-1-0x0000000001D50000-0x0000000001E50000-memory.dmp

        Filesize

        1024KB

      • memory/3996-2-0x0000000003810000-0x0000000003823000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3996-8-0x0000000003810000-0x0000000003823000-memory.dmp

        Filesize

        76KB

      • memory/3996-7-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB