lib/micro_blitz/attacks/homograph.rb
# Homograph is an attack vector utilizing a method of deception wherein
# a threat actor (MicroBlitz) leverages the similarities of character
# scripts to rename existing filenames to include a look-alike
# character from a different language.
#
# This will cause rails to throw an error as it's looking for that file.
# The unsuspecting engineer will login to the server only to see the filename
# has not change (so they think) and will go looking elsewhere.
Homograph is an attack vector utilizing a method of deception wherein
a threat actor (MicroBlitz) leverages the similarities of character
scripts to rename existing filenames to include a look-alike
character from a different language.

This will cause rails to throw an error as it's looking for that file.
The unsuspecting engineer will login to the server only to see the filename
has not change (so they think) and will go looking elsewhere.
Homograph is an attack vector utilizing a method of deception wherein a threat actor ( MicroBlitz ) leverages the similarities of character scripts to rename existing filenames to include a look - alike character from a different language . This will cause rails to throw an error as it ' s looking for that file . The unsuspecting engineer will login to the server only to see the filename has not change ( so they think ) and will go looking elsewhere .
def find_and_replace_chars(chars)
      homograph_attack_char = []
      chars.each do |char|
        if CRYLLIC_LOWERCASE.keys.include? char
          homograph_char = CRYLLIC_LOWERCASE.values_at(char).first
          homograph_attack_char.push(homograph_char)
        else
          homograph_attack_char.push(char)
        end
      end
      homograph_attack_char.push(".rb").join
    end
def find_and_replace_chars ( chars ) homograph_attack_char = [ ] chars . each do | char | if CRYLLIC_LOWERCASE . keys . include? char homograph_char = CRYLLIC_LOWERCASE . values_at ( char ) . first homograph_attack_char . push ( homograph_char ) else homograph_attack_char . push ( char ) end end homograph_attack_char . push ( ".rb" ) . join end
Homograph is an attack vector utilizing a method of deception wherein
a threat actor (MicroBlitz) leverages the similarities of character
scripts to rename existing filenames to include a look-alike
character from a different language.
Homograph is an attack vector utilizing a method of deception wherein a threat actor ( MicroBlitz ) leverages the similarities of character scripts to rename existing filenames to include a look - alike character from a different language .
chars
<not_specific>