Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-09-2024 04:45

General

  • Target

    e1ba68dcdc3611279166843f4f253882_JaffaCakes118.exe

  • Size

    790KB

  • MD5

    e1ba68dcdc3611279166843f4f253882

  • SHA1

    1fe107e422972c86733522fd950b8125dbc02c57

  • SHA256

    e4a17bbe3b2d562f2e7d45a3688bcb1616f6b70a97cc43c3fbf583cf0e3c7e60

  • SHA512

    2aa7719e09e93ddf6dc9acaa3a177e93c61de8e21768771d5b72b331e1357b12c74ec22c3ed02c047c6885b82fcf3f01672168e555e049c7b446bc8a5a5bfd65

  • SSDEEP

    12288:NQmBXaLOclmFrtiWAs1JT7haV3tuMEnIGR3IfXdMq5BHsU61EdFu:NQM2TmFZVn45tKIGRTuf6

Malware Config

Extracted

Family

latentbot

C2

nyandcompany.zapto.org

Signatures

  • LatentBot

    Modular trojan written in Delphi which has been in-the-wild since 2013.

  • Modifies firewall policy service 3 TTPs 10 IoCs
  • Drops file in Drivers directory 1 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 13 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies registry key 1 TTPs 4 IoCs
  • Suspicious behavior: EnumeratesProcesses 17 IoCs
  • Suspicious use of AdjustPrivilegeToken 36 IoCs
  • Suspicious use of SetWindowsHookEx 3 IoCs
  • Suspicious use of WriteProcessMemory 50 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e1ba68dcdc3611279166843f4f253882_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e1ba68dcdc3611279166843f4f253882_JaffaCakes118.exe"
    1⤵
    • Drops file in Drivers directory
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2312
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\java.bat" "
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:2820
      • C:\Windows\SysWOW64\wscript.exe
        wscript.exe "C:\Users\Admin\AppData\Roaming\invs.vbs" "C:\Users\Admin\AppData\Roaming\java2.bat
        3⤵
        • Checks computer location settings
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:3708
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\java2.bat" "
          4⤵
          • Drops startup file
          • System Location Discovery: System Language Discovery
          PID:3640
    • C:\Windows\Temp\svhost.exe
      C:\Windows\Temp\svhost.exe
      2⤵
        PID:748
      • C:\Windows\Temp\svhost.exe
        C:\Windows\Temp\svhost.exe
        2⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:4816
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:5048
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:5064
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Windows\Temp\svhost.exe" /t REG_SZ /d "C:\Windows\Temp\svhost.exe:*:Enabled:Windows Messanger" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:1548
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Windows\Temp\svhost.exe" /t REG_SZ /d "C:\Windows\Temp\svhost.exe:*:Enabled:Windows Messanger" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:4000
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:4768
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:1552
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\svchost628.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\svchost628.exe:*:Enabled:Windows Messanger" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:1896
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\svchost628.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\svchost628.exe:*:Enabled:Windows Messanger" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:2520
      • C:\Windows\Temp\svhost.exe
        C:\Windows\Temp\svhost.exe
        2⤵
          PID:5072
        • C:\Windows\Temp\svhost.exe
          C:\Windows\Temp\svhost.exe
          2⤵
            PID:3024

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Roaming\invs.vbs

          Filesize

          78B

          MD5

          c578d9653b22800c3eb6b6a51219bbb8

          SHA1

          a97aa251901bbe179a48dbc7a0c1872e163b1f2d

          SHA256

          20a98a7e6e137bb1b9bd5ef6911a479cb8eac925b80d6db4e70b19f62a40cce2

          SHA512

          3ae6dc8f02d1a78e1235a0782b632972da5a74ab32287cc41aa672d4fa4a9d34bb5fc50eba07b6915f2e61c402927cd5f6feeb7f7602afa2f64e91efb3b7fc4d

        • C:\Users\Admin\AppData\Roaming\java.bat

          Filesize

          53B

          MD5

          1896de26a454df8628034ca3e0649905

          SHA1

          76b98d95a85d043539706b89194c46cf14464abe

          SHA256

          d85e713743c7e622166fb0f79478de5eabd53d3fe92bd2011ab441bc85ef2208

          SHA512

          ef69dacd7e717dff05f8a70c5b9a94011f2df3201cc41d5f8cc030f350b069dc090c5b0d3d0bd19098a187977a82d570e1ee153849f609a65889ba789da953d2

        • C:\Users\Admin\AppData\Roaming\java2.bat

          Filesize

          160B

          MD5

          e8170b6565dfb34d114cfa398ba77296

          SHA1

          9079335b0ec9a509b7344cb98713fc0b52afa36e

          SHA256

          76ff7c88cc815c8acd61f835033baf5b92eee085e7316c7230f7c363d1e1974b

          SHA512

          1b473fe0a68642ff1741f4619f819b040f8d54696d40e74dd9ad692b56729e455bbe54cb76b382bb1fce5e1eae97dd8c99aeb762915f7147bba59d0ba60d004d

        • C:\Users\Admin\AppData\Roaming\rundll32-.txt

          Filesize

          790KB

          MD5

          e1ba68dcdc3611279166843f4f253882

          SHA1

          1fe107e422972c86733522fd950b8125dbc02c57

          SHA256

          e4a17bbe3b2d562f2e7d45a3688bcb1616f6b70a97cc43c3fbf583cf0e3c7e60

          SHA512

          2aa7719e09e93ddf6dc9acaa3a177e93c61de8e21768771d5b72b331e1357b12c74ec22c3ed02c047c6885b82fcf3f01672168e555e049c7b446bc8a5a5bfd65

        • C:\Windows\Temp\svhost.exe

          Filesize

          1.1MB

          MD5

          d881de17aa8f2e2c08cbb7b265f928f9

          SHA1

          08936aebc87decf0af6e8eada191062b5e65ac2a

          SHA256

          b3a37093609f9a20ad60b85a9fa9de2ba674cba9b5bd687729440c70ba619ca0

          SHA512

          5f23bfb1b8740247b36ed0ab741738c7d4c949736129e767213e321607d1ccd3e3a8428e4ba44bd28a275b5e3f6206285b1a522514b7ef7ea5e698d90a713d34

        • memory/2312-39-0x00000000751C0000-0x0000000075771000-memory.dmp

          Filesize

          5.7MB

        • memory/2312-1-0x00000000751C0000-0x0000000075771000-memory.dmp

          Filesize

          5.7MB

        • memory/2312-2-0x00000000751C0000-0x0000000075771000-memory.dmp

          Filesize

          5.7MB

        • memory/2312-3-0x00000000751C0000-0x0000000075771000-memory.dmp

          Filesize

          5.7MB

        • memory/2312-43-0x00000000751C0000-0x0000000075771000-memory.dmp

          Filesize

          5.7MB

        • memory/2312-0-0x00000000751C2000-0x00000000751C3000-memory.dmp

          Filesize

          4KB

        • memory/2312-38-0x00000000751C2000-0x00000000751C3000-memory.dmp

          Filesize

          4KB

        • memory/4816-23-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-40-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-17-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-44-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-45-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-46-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-47-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-48-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-49-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-52-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-53-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4816-55-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB