Afghan brutality shows ISIL influence, official says