Defanger
Defanger is a Notepad++ plugin that defangs/refangs malicious IOCs.
Install / Use
/learn @0x4427/DefangerREADME
Defanger
A Notepad++ plugin to neutralize and restore the functionality of Indicators of Compromise (IOCs) by defanging and refanging them.
- Selective or whole-text defanging: You can choose between defanging/refanging selected portions of the text or applying the process to the entire content of the Notepad++ document. This makes it convenient for handling IOCs of varying lengths and complexities.
- Supports full URLs, valid domains, IPv4 and IPv6 addresses.
Installation
- Create
Defangerfolder in Notepad++'s plugins installation folder. - Copy
Defanger.dllfrom the Defanger release zip file into the newly created folder. Please use the correct archive version based on your Notepad++ architecture - x86, x64. - Restart Notepad++ and you are all set.
- Alternatively, download the source and build it - the build will copy the dll to the Notepad++'s plugins folder.
Usage
- When applied to the selected text
Defangdefangs any valid URLs, domains and IP addresses whichever included in the selected portion.
- Selected Defang
Auto Defang Alldefangs all the valid URLs, domains and IP addresses found in the document while excluding the invalid ones.
- Defanged all text in the document excluding one invalid IP address.
RefangandAuto Refang Allsupported styles
- Refanged output
| Styles |
|---------------------------|
| hxxp(s) -> http(s) |
| hXXp(s) -> http(s) |
| [://] -> :// |
| [.] -> . |
| {.} -> . |
| (.) -> . |
| [dot] -> . |
| {dot} -> . |
| (dot) -> . |
| [:] -> : |
| \. -> . |
| [/] -> / |
Authors
0x4427
<img align="left" width="40px" src="https://github-production-user-asset-6210df.s3.amazonaws.com/72227999/246673026-44eca0ae-3020-4041-86f4-778f7236e3dc.svg"> <img align="left" width="40px" src="https://github-production-user-asset-6210df.s3.amazonaws.com/72227999/246673032-6ab6cd40-918e-429f-9905-c93750dfa35c.svg"> <img align="left" width="40px" src="https://github-production-user-asset-6210df.s3.amazonaws.com/72227999/246673029-1380eb15-d262-40e6-928f-1321a9338e41.svg"> <br/>
knight0x07
<img align="left" width="40px" src="https://github-production-user-asset-6210df.s3.amazonaws.com/72227999/246673026-44eca0ae-3020-4041-86f4-778f7236e3dc.svg"> <img align="left" width="40px" src="https://github-production-user-asset-6210df.s3.amazonaws.com/72227999/246673032-6ab6cd40-918e-429f-9905-c93750dfa35c.svg"> <img align="left" width="40px" src="https://github-production-user-asset-6210df.s3.amazonaws.com/72227999/246673029-1380eb15-d262-40e6-928f-1321a9338e41.svg"> <br/>
Misc
This plugin has been created using the Notepad++ pluginpack for .Net https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/releases
