The US Department of Agriculture (USDA) told employees that a system used to facilitate payments to farmers was targeted in a cyberattack.