Advertisement
ps66uk

CC-emotet-CMD-URL-extract

Nov 21st, 2018
1,710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. in each case below (except PDF), vary the drop_bytes_length value to frameshift through input until URL appear
  2.  
  3.  
  4. ---------
  5. basic version to extract URL from raw CMD string
  6.  
  7. https://gchq.github.io/CyberChef/#recipe=Comment('put%20the%20raw%20%23emotet%20CMD%20string%20(inc%20%5E)%20into%20input,%20decrease%20drop_bytes_length%20one%20at%20a%20time%20until%20url%20appear')Drop_bytes(0,-10,false)Find_/_Replace(%7B'option':'Simple%20string','string':'%5E'%7D,'',true,false,true,false)Reverse('Character')Register('%5C%5C)%5B%20,;%5D*(%5C%5Cd)',true,false,false)Regular_expression('User%20defined','(.%7B1%7D).%7B$R0%7D',true,true,false,false,false,false,'List%20capture%20groups')Remove_whitespace(true,true,true,true,true,false)Split('@','%5C%5Cn')Split('%5C'','%5C%5Cn')Extract_URLs(false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement