Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 15:56

General

  • Target

    ffa470cbfce681b6f27abc2b87469f19_JaffaCakes118.exe

  • Size

    11.4MB

  • MD5

    ffa470cbfce681b6f27abc2b87469f19

  • SHA1

    65871c2c0aea1d37092757678f0f9a7e2e2407f2

  • SHA256

    9b2631f5c99866630dd888cf3f9f19a016c1ca94f759fb4943ceb337dbe9d10c

  • SHA512

    ea45f99101473888a022e87b16c651f513e8e1b03675e217f17d722e3cc9329381a0587a8ad5ba8142c1f1649042e25689c43c32b0d68ece0373bf6cefee6dd7

  • SSDEEP

    98304:eNWUlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllp:sW

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.

  • Creates new service(s) 1 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ffa470cbfce681b6f27abc2b87469f19_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ffa470cbfce681b6f27abc2b87469f19_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kohbbnvy\
      2⤵
        PID:3504
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfesdnvp.exe" C:\Windows\SysWOW64\kohbbnvy\
        2⤵
          PID:688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kohbbnvy binPath= "C:\Windows\SysWOW64\kohbbnvy\tfesdnvp.exe /d\"C:\Users\Admin\AppData\Local\Temp\ffa470cbfce681b6f27abc2b87469f19_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4600
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kohbbnvy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4352
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kohbbnvy
          2⤵
          • Launches sc.exe
          PID:2796
        • 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:3352
      • C:\Windows\SysWOW64\kohbbnvy\tfesdnvp.exe
        C:\Windows\SysWOW64\kohbbnvy\tfesdnvp.exe /d"C:\Users\Admin\AppData\Local\Temp\ffa470cbfce681b6f27abc2b87469f19_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4152
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1148
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4240 --field-trial-handle=2284,i,9807419199535700662,2319175108930815708,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:1044

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          12.0MB

          MD5

          d09dd2a460a0a951418b71264d6ac385

          SHA1

          30a3d978b191650adad2eef271974705784a7b1a

          SHA256

          b2895feec061f4808f700f3abecd4e9a622554d4290c4f8bf35a7a86d1502801

          SHA512

          e52bbaa4784efe3c877d511941454d258e01fdb2afb5b697cfacfc8f8f9869243ff920989fec98f6e369b83a29b8336373c63fd4c194475c3ea65046d22932b7

        • memory/1148-19-0x0000000001000000-0x0000000001015000-memory.dmp

          Filesize

          84KB

        • memory/1148-22-0x0000000001000000-0x0000000001015000-memory.dmp

          Filesize

          84KB

        • memory/1148-13-0x0000000001000000-0x0000000001015000-memory.dmp

          Filesize

          84KB

        • memory/1148-17-0x0000000001000000-0x0000000001015000-memory.dmp

          Filesize

          84KB

        • memory/1148-20-0x0000000001000000-0x0000000001015000-memory.dmp

          Filesize

          84KB

        • memory/2104-1-0x00000000039A0000-0x0000000003AA0000-memory.dmp

          Filesize

          1024KB

        • memory/2104-5-0x0000000000400000-0x00000000036CD000-memory.dmp

          Filesize

          50.8MB

        • memory/2104-2-0x0000000003970000-0x0000000003983000-memory.dmp

          Filesize

          76KB

        • memory/2104-8-0x0000000000400000-0x00000000036CD000-memory.dmp

          Filesize

          50.8MB

        • memory/2104-10-0x0000000003970000-0x0000000003983000-memory.dmp

          Filesize

          76KB

        • memory/2104-3-0x0000000000400000-0x00000000036CD000-memory.dmp

          Filesize

          50.8MB

        • memory/4152-18-0x0000000003810000-0x0000000003910000-memory.dmp

          Filesize

          1024KB

        • memory/4152-15-0x0000000000400000-0x00000000036CD000-memory.dmp

          Filesize

          50.8MB

        • memory/4152-21-0x0000000000400000-0x00000000036CD000-memory.dmp

          Filesize

          50.8MB

        • memory/4152-12-0x0000000000400000-0x00000000036CD000-memory.dmp

          Filesize

          50.8MB