Behavior automation for dealing with attacks and secure traffic scenarios on modern computer networks