Analysis

  • max time kernel
    150s
  • 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
    25-12-2024 03:09

General

  • Target

    JaffaCakes118_c64e2ef9ab2c17bff92fab62479fbf3ce1724c4e8f5f9a2bd9f4c40113f433a8.exe

  • Size

    325KB

  • MD5

    424b5c8d8ecadd9049cefd26188984f7

  • SHA1

    b257341ca384e216ce6f286184606bb431d14217

  • SHA256

    c64e2ef9ab2c17bff92fab62479fbf3ce1724c4e8f5f9a2bd9f4c40113f433a8

  • SHA512

    4334351e2f789d41763481e0e851175be92ee275faca9af5e33592d9e054dbcbd8e3deeacb2f5000872971e2cad4d19e1763360a47025c7f5626528a273993ae

  • SSDEEP

    6144:erHiD3oQZ2HobNAJIZMVfwoYFWwGGeolAHPs53HpZg9qR:+CD3F4OWwGGeolAk53f

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_c64e2ef9ab2c17bff92fab62479fbf3ce1724c4e8f5f9a2bd9f4c40113f433a8.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c64e2ef9ab2c17bff92fab62479fbf3ce1724c4e8f5f9a2bd9f4c40113f433a8.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xkgyxzws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tpeejqwn.exe" C:\Windows\SysWOW64\xkgyxzws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xkgyxzws binPath= "C:\Windows\SysWOW64\xkgyxzws\tpeejqwn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c64e2ef9ab2c17bff92fab62479fbf3ce1724c4e8f5f9a2bd9f4c40113f433a8.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xkgyxzws "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xkgyxzws
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1576
    • 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:5020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4520 -s 1328
      2⤵
      • Program crash
      PID:4044
  • C:\Windows\SysWOW64\xkgyxzws\tpeejqwn.exe
    C:\Windows\SysWOW64\xkgyxzws\tpeejqwn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c64e2ef9ab2c17bff92fab62479fbf3ce1724c4e8f5f9a2bd9f4c40113f433a8.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1344
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1344 -s 532
      2⤵
      • Program crash
      PID:4364
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4520 -ip 4520
    1⤵
      PID:2976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 1344 -ip 1344
      1⤵
        PID:3100

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        38c3f24720f722f39cfc1824df06b4b1

        SHA1

        f4d212cb2fca429e1442f235174ecde8ce375630

        SHA256

        b70ec7bef9ce15bf798cde8a8ef5360d07589d44da201132720c9c4609f550ab

        SHA512

        df6bd77297b1242580deb17d27d5cf3e927ee80fc612e98120af825a99f147296bed3e0e1da2bf11e8b47081f342554f58547752863386d2125b66f79288094f

      • memory/1344-15-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB

      • memory/2556-11-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB

      • memory/2556-13-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB

      • memory/2556-14-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB

      • memory/4520-1-0x00000000024B0000-0x00000000025B0000-memory.dmp

        Filesize

        1024KB

      • memory/4520-2-0x0000000002490000-0x00000000024A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4520-8-0x0000000002490000-0x00000000024A3000-memory.dmp

        Filesize

        76KB

      • memory/4520-7-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB