In this paper, we investigate the secure beamforming design in multiple-input multiple-output (MIMO) nonorthogonal multiple access (NOMA) en-abled Internet of Things (IoT) networks, where a controller transmits confidential messages to multiple actuators and a cooperative controller acts as a jammer to prevent a potential eavesdropper from wiretapping the information. Our goal is to maximize achievable secrecy sum rate subject to the successful successive interference cancellation constraint and transmit power constraints of the controller and jammer. When channel state information (CSI) is perfect, we design the secure beamforming by developing an iterative optimization algorithm based on minimum mean square error (MMSE) method. When perfect CSI is not available, we model the channel errors as deterministically-bounded, and propose a robust secure beamforming design algorithm based on weighted MMSE and cutting-set method. The effectiveness of the proposed algorithms is verified by the simulation results.