Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 06:57

General

  • Target

    f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe

  • Size

    333KB

  • MD5

    f53aeee66a0b0dc9cdf6dd537f48287c

  • SHA1

    e7e29654829306c7c1633190833d1fe8fc0c44b5

  • SHA256

    a3eb89c5fe1e820b0ba694c4aeab1351999630b490d988b4dd698753ab8eb7dc

  • SHA512

    6d7a5f77650886803623ae6c3f7aae73a6a4d641b47cbe4707df91d5ed150b55da4a79be0abcdaa4ad2418037579abf966baf451c56eeb41c1a1183916eba04a

  • SSDEEP

    6144:/Q41aFOBM9gLaaxfOcWB4KsjKTzcbbyXoAsy6mOnbe3q:o44FuX+axfOcWKhjKncb+vsTmql

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jfvltmyb\
      2⤵
        PID:2940
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\obkhinzm.exe" C:\Windows\SysWOW64\jfvltmyb\
        2⤵
          PID:2972
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jfvltmyb binPath= "C:\Windows\SysWOW64\jfvltmyb\obkhinzm.exe /d\"C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jfvltmyb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jfvltmyb
          2⤵
          • Launches sc.exe
          PID:2524
        • 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
          PID:2200
      • C:\Windows\SysWOW64\jfvltmyb\obkhinzm.exe
        C:\Windows\SysWOW64\jfvltmyb\obkhinzm.exe /d"C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2428
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2480

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        95c87bbc81167289b252b349eb3c732a

        SHA1

        39daf173cdc5f6289c07e7c3d33842f1244d3590

        SHA256

        da66911a23c53304583fa3ae8a64237b75d8db2914d6da942499e82f2f29afb9

        SHA512

        f165f90298acaf1210086234e1425fb8ede9bcab0c34fc82c927e82f5b435cdb67a67d1d4f23be1eea0c01cffaebc841102679eb66e7c97e678113545adc5947

      • memory/2428-11-0x00000000008A0000-0x00000000009A0000-memory.dmp

        Filesize

        1024KB

      • memory/2428-16-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/2428-13-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/2480-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-10-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2480-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-22-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2904-9-0x0000000000830000-0x0000000000930000-memory.dmp

        Filesize

        1024KB

      • memory/2904-8-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/2904-4-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/2904-3-0x00000000002D0000-0x00000000002E3000-memory.dmp

        Filesize

        76KB

      • memory/2904-1-0x0000000000830000-0x0000000000930000-memory.dmp

        Filesize

        1024KB