An Armenian national and member of the Ryuk ransomware gang was sentenced to two years in federal prison for his role in launching attacks.